Set of inputs to accompany vue-form v2.
This component makes use of Vue 3 composition api so please make sure it is available in your project.
npm install --save-dev @ssdcode/vue-form-inputs
You can import desired input components using ES6 import syntax
import { TextInput, CheckboxInput, SelectInput, FroalaEditor } from '@ssdcode/vue-form-inputs'
Alternatively you can also use UMD
or CommonJs
approach by pointing to @ssdcode/vue-form-inputs/dist/main.umd.js
or @ssdcode/vue-form-inputs/dist/main.common.js
.
To use FroalaEditor, make sure you import and compile relevant css files - at the very least:
@import '~froala-editor/css/froala_editor.pkgd.css';
To be continued...
You can execute tests by calling
npm run test:unit
Contributions are welcome - please make sure all PRs have their associated test.