Sleep

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

.vue-standalone-component.A theme for the Vue cli is actually offered to assist you create elements along with livecoding, tests, paperwork and demonstrations. Build your standalone parts using this very small template.Utilizing this theme you are going to have the capacity to:.Display the directory of your componet: src components components.vue.Note the element doctors.Present props, procedures &amp celebrations.Show the component's isolated consumption guidelines.Filter parts by label.as well as much more ...Utilization.This design template is actually Vue 2.x simply.This is a job layout for vue-cli.$ npm put in -g vue-cli.$ vue init InCuca/vue-standalone-component my-component.$ cd my-component.$ npm put up.While managing the above orders you will certainly get some motivates and some guidelines in steps about just how to compose parts.After you are carried out run:.$ npm managed provide.You may right now look at style guide in the browser. visiting:.Local: http://localhost:6062/.The generated output in./ dist can be used along with nodule as well as the internet browser.PS: to construct to UMD work npm function construct: umd.What is actually Consisted of.Linting.$ npm operated lint.Testing &amp Test Protection.$ npm functioned test.$ npm functioned test: watch.$ npm worked test: cov.Building.ES6 Elements/ CommonJS.$ npm operate build.import myCmp coming from 'dist/my-cmp'.Vue.component(' my-cmp', myCmp).UMD.$ npm run create: umd.
If you are intrigued for even more regarding this template or even you possess any sort of tips or even bugs, visit here.

Articles You Can Be Interested In