Sleep

Vue cli template to create parts along with livecoding, examinations, documents &amp more

.vue-standalone-component.A design template for the Vue cli is actually readily available to assist you create parts with livecoding, exams, information as well as trials. Develop your standalone components using this small template.Using this design template you are going to manage to:.Feature the listing of your componet: src components components.vue.Specify the element docs.Present props, methods &amp celebrations.Show the component's isolated usage guidelines.Filter components through name.as well as more ...Usage.This design template is actually Vue 2.x only.This is actually a task design template 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 certainly get some triggers as well as some instructions symphonious about exactly how to compose elements.After you are actually carried out operate:.$ npm run serve.You can easily right now view type quick guide in the internet browser. going to:.Local: http://localhost:6062/.The produced output in./ dist may be used with node and also the internet browser.PS: to create to UMD operate npm operate construct: umd.What is actually Consisted of.Linting.$ npm operated dust.Screening &amp Test Protection.$ npm worked examination.$ npm functioned test: view.$ npm functioned test: cov.Property.ES6 Modules/ CommonJS.$ npm operate develop.bring in myCmp from 'dist/my-cmp'.Vue.component(' my-cmp', myCmp).UMD.$ npm operate create: umd.
If you are curious for more about this theme or even you have any type of pointers or bugs, click on this link.