.vue-standalone-component.A theme for the Vue cli is actually accessible to help you create elements along with livecoding, examinations, information and demos. Develop your standalone components utilizing this very small template.Using this template you will manage to:.Present the directory site of your componet: src components components.vue.Specify the component doctors.Feature props, approaches & events.Present the part's segregated usage directions.Filter parts by label.and extra ...Use.This design template is Vue 2.x merely.This is actually a task layout for vue-cli.$ npm put up -g vue-cli.$ vue init InCuca/vue-standalone-component my-component.$ cd my-component.$ npm install.While running the above orders you are going to receive some cues and also some instructions symphonious about exactly how to create components.After you are done run:.$ npm managed offer.You may now see design guide in the browser. exploring:.Regional: http://localhost:6062/.The produced result in./ dist can be used with node and also the web browser.PS: to construct to UMD run npm operate construct: umd.What is actually Featured.Linting.$ npm run lint.Screening & Test Insurance Coverage.$ npm functioned examination.$ npm run exam: check out.$ npm functioned test: cov.Structure.ES6 Components/ CommonJS.$ npm run build.bring in myCmp from 'dist/my-cmp'.Vue.component(' my-cmp', myCmp).UMD.$ npm operate develop: umd.
If you are curious for even more regarding this theme or you possess any type of suggestions or even insects, visit here.