Sleep

Vue cli layout to build parts with livecoding, tests, documents &amp additional

.vue-standalone-component.A layout for the Vue cli is on call to help you construct components along with livecoding, exams, records as well as trials. Build your standalone parts utilizing this tiny design template.Utilizing this template you will have the ability to:.Show the listing of your componet: src parts components.vue.Specify the component doctors.Feature props, techniques &amp occasions.Display the part's isolated utilization guidelines.Filter elements by name.as well as much more ...Use.This layout is actually Vue 2.x simply.This is actually a project layout for vue-cli.$ npm put up -g vue-cli.$ vue init InCuca/vue-standalone-component my-component.$ cd my-component.$ npm mount.While operating the above commands you will receive some cues and also some instructions symphonious regarding just how to create parts.After you are done run:.$ npm operated serve.You can easily now watch style resource in the browser. exploring:.Neighborhood: http://localhost:6062/.The produced output in./ dist could be used along with node and the web browser.PS: to build to UMD work npm function create: umd.What is actually Included.Linting.$ npm worked lint.Screening &amp Exam Coverage.$ npm operated test.$ npm run examination: watch.$ npm functioned test: cov.Structure.ES6 Components/ CommonJS.$ npm operate build.bring in myCmp coming from 'dist/my-cmp'.Vue.component(' my-cmp', myCmp).UMD.$ npm operate create: umd.
If you are curious for more about this template or you have any sort of tips or pests, visit this site.