Sleep

Vue cli layout to develop parts along with livecoding, examinations, documents &amp additional

.vue-standalone-component.A template for the Vue cli is accessible to assist you create parts with livecoding, examinations, information and demos. Develop your standalone parts utilizing this little layout.Using this design template you will certainly manage to:.Display the listing of your componet: src elements components.vue.Specify the component docs.Display props, procedures &amp celebrations.Present the element's segregated use directions.Filter elements by label.as well as extra ...Utilization.This design template is Vue 2.x just.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 put up.While running the above commands you will get some cues as well as some directions symphonious regarding exactly how to write components.After you are done run:.$ npm managed offer.You can right now view style guide in the browser. seeing:.Neighborhood: http://localhost:6062/.The produced result in./ dist could be used along with nodule as well as the browser.PS: to create to UMD operate npm operate build: umd.What's Featured.Linting.$ npm worked dust.Testing &amp Examination Insurance Coverage.$ npm run test.$ npm functioned exam: check out.$ npm operated examination: cov.Structure.ES6 Components/ CommonJS.$ npm run construct.bring in myCmp coming from 'dist/my-cmp'.Vue.component(' my-cmp', myCmp).UMD.$ npm run develop: umd.
If you are actually curious for additional regarding this template or even you have any kind of suggestions or even insects, click on this link.

Articles You Can Be Interested In