ncform-ace widget for ncform
npm i -s @ncform/ncform-ace
Add the widget
import ncformAce from '@ncform/ncform-ace';
Vue.use(vueNcform, { extComponents: {ncformAce} });
// or vm.$ncformAddWidget({name: 'ncformAce', widget: ncformAce});
Use the widget
{
"type": "object",
"properties": {
"name": {
"type": "object",
"widget": "ncform-ace",
"widgetConfig": {
"height": "300px"
}
}
}
}
npm install
npm run serve
You only need to care about src/components/index.vue
npm run build
npm run test
npm run lint
npm run test:e2e
npm run test:unit