Sleep

Vue cli design template to create components with livecoding, tests, paperwork &amp more

.vue-standalone-component.A layout for the Vue cli is offered to help you build elements along with livecoding, exams, information and also demonstrations. Develop your standalone components utilizing this very small design template.Using this theme you will have the capacity to:.Present the directory of your componet: src components components.vue.Provide the element doctors.Feature props, procedures &amp celebrations.Show the part's isolated use guidelines.Filter components through label.and also extra ...Usage.This layout is actually Vue 2.x only.This is a task layout for vue-cli.$ npm set up -g vue-cli.$ vue init InCuca/vue-standalone-component my-component.$ cd my-component.$ npm mount.While running the above commands you will definitely obtain some cues and some instructions in steps regarding exactly how to compose parts.After you are carried out operate:.$ npm managed offer.You may right now look at design manual in the web browser. going to:.Neighborhood: http://localhost:6062/.The produced result in./ dist could be utilized with nodule as well as the web browser.PS: to build to UMD run npm operate construct: umd.What's Consisted of.Linting.$ npm functioned dust.Testing &amp Exam Protection.$ npm run examination.$ npm worked exam: view.$ npm functioned examination: cov.Structure.ES6 Elements/ CommonJS.$ npm run create.import myCmp from 'dist/my-cmp'.Vue.component(' my-cmp', myCmp).UMD.$ npm run construct: umd.
If you are actually fascinated for more regarding this layout or even you possess any type of pointers or bugs, click here.