Sleep

Vue cli theme to develop components with livecoding, tests, documentation &amp more

.vue-standalone-component.A design template for the Vue cli is readily available to assist you build parts with livecoding, examinations, documentation and trials. Create your standalone components using this small template.Using this theme you will have the ability to:.Feature the directory of your componet: src components components.vue.List the component doctors.Show props, strategies &amp occasions.Feature the part's isolated utilization instructions.Filter elements by label.and also more ...Usage.This layout is actually Vue 2.x just.This is a task layout for vue-cli.$ npm put up -g vue-cli.$ vue init InCuca/vue-standalone-component my-component.$ cd my-component.$ npm set up.While running the above commands you are going to get some causes as well as some instructions in steps concerning how to write elements.After you are done operate:.$ npm managed provide.You can easily right now watch style manual in the web browser. exploring:.Local: http://localhost:6062/.The created output in./ dist may be utilized with node and the web browser.PS: to construct to UMD work npm run create: umd.What's Featured.Linting.$ npm functioned dust.Testing &amp Exam Coverage.$ npm operated examination.$ npm worked examination: view.$ npm run test: cov.Structure.ES6 Components/ CommonJS.$ npm operate create.bring in myCmp from 'dist/my-cmp'.Vue.component(' my-cmp', myCmp).UMD.$ npm operate create: umd.
If you are actually interested for more about this template or even you possess any kind of recommendations or insects, go here.