.vue-standalone-component.A template for the Vue cli is offered to assist you develop elements along with livecoding, tests, information and trials. Create your standalone elements using this little template.Utilizing this design template you are going to be able to:.Feature the listing of your componet: src parts components.vue.Specify the part docs.Present props, procedures & activities.Show the element's segregated usage instructions.Filter components through label.and a lot more ...Use.This design template is Vue 2.x simply.This is a task template for vue-cli.$ npm mount -g vue-cli.$ vue init InCuca/vue-standalone-component my-component.$ cd my-component.$ npm put up.While running the above orders you will certainly obtain some cues as well as some directions symphonious regarding how to write parts.After you are actually performed run:.$ npm run offer.You can easily currently view type quick guide in the web browser. checking out:.Nearby: http://localhost:6062/.The generated outcome in./ dist could be made use of with nodule as well as the web browser.PS: to construct to UMD run npm function construct: umd.What is actually Featured.Linting.$ npm run dust.Screening & Test Insurance Coverage.$ npm worked test.$ npm worked examination: check out.$ npm run exam: cov.Property.ES6 Components/ CommonJS.$ npm run create.import myCmp coming from 'dist/my-cmp'.Vue.component(' my-cmp', myCmp).UMD.$ npm operate develop: umd.
If you are fascinated for additional concerning this template or you possess any tips or bugs, click on this link.