.vue-standalone-component.A template for the Vue cli is readily available to help you develop elements along with livecoding, tests, documentation and demonstrations. Develop your standalone elements using this little layout.Utilizing this theme you will have the capacity to:.Feature the directory of your componet: src components components.vue.Provide the part doctors.Feature props, strategies & occasions.Show the part's isolated use directions.Filter components by title.as well as a lot more ...Use.This layout is Vue 2.x simply.This is actually a job template for vue-cli.$ npm put up -g vue-cli.$ vue init InCuca/vue-standalone-component my-component.$ cd my-component.$ npm put in.While operating the above orders you will get some urges and some instructions symphonious concerning exactly how to write components.After you are carried out run:.$ npm operated provide.You can right now watch type guide in the internet browser. seeing:.Nearby: http://localhost:6062/.The produced outcome in./ dist could be used with nodule as well as the internet browser.PS: to create to UMD run npm operate create: umd.What is actually Included.Linting.$ npm run dust.Testing & Test Insurance Coverage.$ npm run exam.$ npm functioned exam: check out.$ npm functioned examination: cov.Property.ES6 Modules/ CommonJS.$ npm operate construct.import myCmp coming from 'dist/my-cmp'.Vue.component(' my-cmp', myCmp).UMD.$ npm run create: umd.
If you are actually curious for even more about this template or you have any suggestions or insects, click on this link.