Sleep

Vue cli template to create elements along with livecoding, examinations, documentation &amp more

.vue-standalone-component.A design template for the Vue cli is on call to help you build elements with livecoding, exams, information as well as demonstrations. Construct your standalone parts using this tiny template.Utilizing this design template you will definitely have the ability to:.Present the directory site of your componet: src parts components.vue.Note the part doctors.Present props, approaches &amp occasions.Feature the part's separated use instructions.Filter elements through name.as well as a lot more ...Usage.This 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 put in.While operating the above orders you will get some urges as well as some instructions symphonious about exactly how to write components.After you are performed run:.$ npm operated serve.You may now check out design overview in the internet browser. going to:.Nearby: http://localhost:6062/.The created result in./ dist could be utilized along with nodule as well as the internet browser.PS: to construct to UMD function npm work develop: umd.What's Featured.Linting.$ npm worked dust.Testing &amp Test Protection.$ npm run test.$ npm operated examination: check out.$ npm functioned test: cov.Structure.ES6 Components/ CommonJS.$ npm run construct.bring in myCmp from 'dist/my-cmp'.Vue.component(' my-cmp', myCmp).UMD.$ npm operate develop: umd.
If you are curious for even more about this layout or even you have any sort of ideas or even bugs, visit here.

Articles You Can Be Interested In