0.2.2 • Published 4 years ago
@ssdcode/vue-form-inputs v0.2.2
Vue form input set
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.
Installation
npm install --save-dev @ssdcode/vue-form-inputs
Usage
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
.
FroalaEditor
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...
Tests
You can execute tests by calling
npm run test:unit
Contributions
Contributions are welcome - please make sure all PRs have their associated test.