https://github.com/incuca/ic-crud-dropdown
A CRUD dropdown with search field
https://github.com/incuca/ic-crud-dropdown
bootstrap4 component vuejs
Last synced: over 1 year ago
JSON representation
A CRUD dropdown with search field
- Host: GitHub
- URL: https://github.com/incuca/ic-crud-dropdown
- Owner: InCuca
- License: apache-2.0
- Created: 2017-12-14T17:56:00.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2019-10-09T17:18:42.000Z (almost 7 years ago)
- Last Synced: 2025-03-24T15:04:04.026Z (over 1 year ago)
- Topics: bootstrap4, component, vuejs
- Language: Vue
- Homepage: https://jsfiddle.net/kwb27zL6/
- Size: 216 KB
- Stars: 5
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# ic-crud-dropdown
[](https://travis-ci.org/InCuca/ic-crud-dropdown/branches)
> This component renders a dropdown with search and CRUD
## Installation
Dependencies (Should be added manually):
- [bootstrap-vue](https://bootstrap-vue.js.org/)
- [ic-formly](https://github.com/InCuca/ic-formly)
### Using yarn
`yarn add ic-crud-dropdown`
### Using npm
`npm i --save ic-crud-dropdown`
## Docs
`npm run serve`
## Usage
[Demo](https://jsfiddle.net/kwb27zL6/)
```js
import IcCrudDropdown from 'ic-crud-dropdown';
import 'ic-crud-dropdown/dist/ic-crud-dropdown.min.css';
Vue.component('ic-crud-dropdown', IcCrudDropdown);
```
### UMD
```html
Vue.component('ic-crud-dropdown', window.IcCrudDropdown.default);
```
## Build
Build configuration is located in the `poi.config.js` file, to build just run: `npm run build`, it will build to `dist` directory.
## Tests
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`
## License
This project is licensed under [MIT License](http://en.wikipedia.org/wiki/MIT_License)