Sleep

Vue cli layout to construct elements along with livecoding, exams, paperwork &amp more

.vue-standalone-component.A layout for the Vue cli is actually readily available to aid you construct components with livecoding, tests, documents and demos. Create your standalone elements using this tiny design template.Utilizing this layout you are going to have the capacity to:.Display the directory site of your componet: src components components.vue.Detail the component docs.Show props, approaches &amp events.Show the component's segregated utilization guidelines.Filter elements through title.and even more ...Usage.This template is actually Vue 2.x merely.This is a venture design template for vue-cli.$ npm mount -g vue-cli.$ vue init InCuca/vue-standalone-component my-component.$ cd my-component.$ npm put up.While operating the above demands you will certainly obtain some urges and some guidelines in steps about exactly how to write components.After you are actually done operate:.$ npm managed provide.You can right now check out design overview in the browser. checking out:.Nearby: http://localhost:6062/.The produced outcome in./ dist can be utilized along with nodule as well as the browser.PS: to develop to UMD function npm function create: umd.What's Included.Linting.$ npm operated dust.Testing &amp Test Coverage.$ npm operated examination.$ npm operated exam: check out.$ npm worked exam: cov.Structure.ES6 Modules/ CommonJS.$ npm operate build.bring in myCmp coming from 'dist/my-cmp'.Vue.component(' my-cmp', myCmp).UMD.$ npm run build: umd.
If you are actually curious for even more about this template or even you have any kind of pointers or even pests, visit here.