Skip to content

vmcvlad/accessories

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Accessories

npm license npm download GitHub top language GitHub issues npm version

Accessories

Usage

This package contains a suite of reusable components within the Enso ecosystem.

For live examples and demos, you may visit laravel-enso.com

Check the full documentation.

Installation

Install the package:

yarn add @enso-ui/accessories

Import the desired component(s):

import { Accessories, Addresses, Comments } from '@enso-ui/accessories/bulma';

Example

<accessories>
    <template slot-scope="{ count }">
        <tab keep-alive
            id="Addresses">
            <addresses :id="myCompanyId"
                type="LaravelEnso\Companies\app\Models\Company"
                @update="$set(count, 'Addresses', $refs.addresses.count)"
                ref="addresses"/>
            <comments :id="myCompanyId"
                type="LaravelEnso\Companies\app\Models\Company"
                @update="$set(count, 'Comments', $refs.comments.count)"
                ref="comments"/>
        </tab>
    </template>
</accessories>

Contributions

are welcome. Pull requests are great, but issues are good too.

Thank you to all the people who already contributed to Enso!

License

ISC

Packages

No packages published

Languages

  • Vue 86.9%
  • JavaScript 12.4%
  • CSS 0.7%