This component renders a dropdown with search and CRUD
Dependencies (Should be added manually):
yarn add ic-crud-dropdown
npm i --save ic-crud-dropdown
npm run serve
import IcCrudDropdown from 'ic-crud-dropdown';
import 'ic-crud-dropdown/dist/ic-crud-dropdown.min.css';
Vue.component('ic-crud-dropdown', IcCrudDropdown);
<script src="https://unpkg.com/vue" charset="utf-8"></script>
<script src="./dist/umd/ic-crud-dropdown.min.js" charset="utf-8"></script>
<link rel="stylesheet" type="text/css" href="./dist/umd/ic-crud-dropdown.min.css">
<script type="text/javascript">
Vue.component('ic-crud-dropdown', window.IcCrudDropdown.default);
</script>
Build configuration is located in the poi.config.js
file, to build just run: npm run build
, it will build to dist
directory.
This template uses karma with chai by default, you can change test settings in poi.config.js
npm run test
npm run test:watch
npm run test:cov
This project is licensed under MIT License