.vue-standalone-component.A theme for the Vue cli is available to aid you create parts along with livecoding, tests, documentation as well as trials. Develop your standalone parts using this tiny design template.Using this design template you are going to have the capacity to:.Display the listing of your componet: src parts components.vue.Specify the component docs.Show props, techniques & events.Show the part's separated use instructions.Filter components through title.as well as more ...Consumption.This theme is Vue 2.x merely.This is actually a project theme for vue-cli.$ npm put up -g vue-cli.$ vue init InCuca/vue-standalone-component my-component.$ cd my-component.$ npm put up.While running the above demands you will receive some motivates and some directions symphonious regarding just how to compose components.After you are done operate:.$ npm operated serve.You can right now check out type guide in the web browser. seeing:.Local: http://localhost:6062/.The created output in./ dist may be made use of along with node and the browser.PS: to build to UMD function npm function create: umd.What is actually Featured.Linting.$ npm functioned lint.Testing & Exam Protection.$ npm functioned examination.$ npm run exam: check out.$ npm functioned test: cov.Property.ES6 Components/ CommonJS.$ npm run construct.bring in myCmp from 'dist/my-cmp'.Vue.component(' my-cmp', myCmp).UMD.$ npm run develop: umd.
If you are fascinated for even more concerning this design template or you possess any sort of pointers or insects, click on this link.