vmcvlad / accessories

Accessories

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Accessories

License:MIT License


Languages

Language:Vue 86.9%Language:JavaScript 12.4%Language:CSS 0.7%