0.1.0 • Published 6 years ago
nc-dx-input v0.1.0
nc-dx-input
nc-dx-input widget for ncform

Install and basic usage
npm i -s nc-dx-inputAdd the widget
import ncDxInput from 'nc-dx-input';
Vue.use(vueNcform, { extComponents: {ncDxInput} });
// or vm.$ncformAddWidget({name: 'ncDxInput', widget: ncDxInput});Use the widget
{
"type": "object",
"properties": {
"name": {
"type": "array",
"widget": "nc-dx-input",
"widgetConfig": {
"realWidget": {
"widget": "select",
"widgetConfig": {
"multiple": true,
"enumSource": [
{
"value": "daniel",
"label": "daniel"
},
{
"value": "sarah",
"label": "sarah"
}
]
}
}
}
}
}
}Project setup
npm installCompiles and hot-reloads for development
npm run serveYou only need to care about src/components/index.vue
Compiles and minifies for production
npm run buildRun your tests
npm run testLints and fixes files
npm run lintRun your end-to-end tests
npm run test:e2eRun your unit tests
npm run test:unit0.1.0
6 years ago