Package Exports
- pretty-checkbox-vue
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (pretty-checkbox-vue) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Quickly integrate pretty checkbox Components with Vue.js
Installation
npm i --save-dev pretty-checkbox-vue
Browser
Include the script file, then install the component with Vue.use(PrettyCheckbox);
e.g.:
<script type="text/javascript" src="node_modules/vuejs/dist/vue.min.js"></script>
<script type="text/javascript" src="node_modules/pretty-checkbox-vue/dist/pretty-checkbox-vue.min.js"></script>
<script type="text/javascript">
Vue.use(PrettyCheckbox);
</script>
Module
import PrettyCheckbox from 'pretty-checkbox-vue';
Vue.component('p-checkbox', PrettyCheckbox);
Usage
Once installed, it can be used in a template as simply as:
<p-checkbox></p-checkbox>
If you have discovered a 🐜 or have a feature suggestion, feel free to create an issue on Github.
License
Released under The MIT License. Copyright (c) hamed-ehtesham.