Sleep

Vue cli layout to create components with livecoding, tests, documents &amp more

.vue-standalone-component.A theme for the Vue cli is actually available to assist you construct parts with livecoding, examinations, documents as well as trials. Create your standalone components using this very small layout.Using this layout you will certainly have the capacity to:.Feature the directory of your componet: src elements components.vue.Specify the element docs.Present props, procedures &amp occasions.Display the component's separated use instructions.Filter components by name.as well as much more ...Usage.This theme is actually Vue 2.x only.This is a venture design template for vue-cli.$ npm put in -g vue-cli.$ vue init InCuca/vue-standalone-component my-component.$ cd my-component.$ npm set up.While operating the above demands you will definitely get some triggers as well as some instructions in steps concerning just how to create components.After you are performed operate:.$ npm run provide.You may now watch type quick guide in the web browser. visiting:.Neighborhood: http://localhost:6062/.The created result in./ dist may be made use of with nodule and also the browser.PS: to build to UMD function npm operate build: umd.What is actually Featured.Linting.$ npm worked dust.Testing &amp Test Insurance Coverage.$ npm worked exam.$ npm functioned exam: check out.$ npm worked test: cov.Property.ES6 Elements/ CommonJS.$ npm operate develop.bring in myCmp coming from 'dist/my-cmp'.Vue.component(' my-cmp', myCmp).UMD.$ npm run develop: umd.
If you are curious for additional regarding this design template or even you possess any type of tips or bugs, go here.

Articles You Can Be Interested In