0.1.0 • Published 6 years ago
@danieldx/nc-tmta-widget v0.1.0
nc-tmta-widget
nc-tmta-widget widget for ncform
Install and basic usage
npm i -s @danieldx/nc-tmta-widgetAdd the widget
import ncTmtaWidget from '@danieldx/nc-tmta-widget';
Vue.use(vueNcform, { extComponents: {ncTmtaWidget} });
// or vm.$ncformAddWidget({name: 'ncTmtaWidget', widget: ncTmtaWidget});Use the widget
{
"type": "object",
"properties": {
"name": {
"type": "string",
"widget": "nc-tmta-widget",
"widgetConfig": {
}
}
}
}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