Sleep

Vue cli layout to develop parts with livecoding, examinations, documentation &amp more

.vue-standalone-component.A layout for the Vue cli is readily available to aid you create elements along with livecoding, exams, paperwork and demonstrations. Develop your standalone parts utilizing this tiny template.Using this design template you will have the ability to:.Feature the listing of your componet: src parts components.vue.Detail the element docs.Present props, techniques &amp celebrations.Present the part's isolated consumption instructions.Filter elements through label.and also a lot more ...Utilization.This template is actually Vue 2.x only.This is actually a task layout for vue-cli.$ npm install -g vue-cli.$ vue init InCuca/vue-standalone-component my-component.$ cd my-component.$ npm put up.While operating the above commands you will certainly acquire some causes as well as some instructions symphonious concerning exactly how to write components.After you are actually done operate:.$ npm operated provide.You may now see style overview in the browser. visiting:.Nearby: http://localhost:6062/.The generated result in./ dist may be used along with nodule as well as the browser.PS: to develop to UMD work npm work create: umd.What's Included.Linting.$ npm run dust.Testing &amp Examination Insurance Coverage.$ npm operated exam.$ npm functioned exam: view.$ npm worked exam: cov.Structure.ES6 Components/ CommonJS.$ npm operate develop.bring in myCmp coming from 'dist/my-cmp'.Vue.component(' my-cmp', myCmp).UMD.$ npm operate construct: umd.
If you are curious for more regarding this layout or even you have any sort of pointers or pests, click here.