.vue-standalone-component.A template for the Vue cli is offered to assist you create elements with livecoding, tests, documentation and also trials. Construct your standalone parts using this tiny template.Using this template you will manage to:.Show the listing of your componet: src parts components.vue.List the part doctors.Display props, approaches & occasions.Show the part’s separated use guidelines.Filter components through name.and much more …Usage.This design template is Vue 2.x merely.This is actually a job layout for vue-cli.$ npm put up -g vue-cli.$ vue init InCuca/vue-standalone-component my-component.$ cd my-component.$ npm install.While operating the above orders you are going to obtain some prompts and some instructions in steps about just how to write parts.After you are performed operate:.$ npm operated offer.You may right now check out type quick guide in the internet browser. visiting:.Neighborhood: http://localhost:6062/.The created output in./ dist may be made use of along with node and also the internet browser.PS: to construct to UMD function npm work develop: umd.What’s Included.Linting.$ npm functioned dust.Screening & Test Insurance Coverage.$ npm worked test.$ npm worked exam: check out.$ npm run exam: cov.Building.ES6 Components/ CommonJS.$ npm run build.bring in myCmp from ‘dist/my-cmp’.Vue.component(‘ my-cmp’, myCmp).UMD.$ npm operate construct: umd.
If you are fascinated for more concerning this layout or you have any kind of suggestions or insects, visit here.