Sleep

Vue cli template to develop components with livecoding, exams, paperwork &amp even more

.vue-standalone-component.A design template for the Vue cli is actually accessible to aid you build elements along with livecoding, tests, records and also demos. Develop your standalone parts utilizing this tiny layout.Utilizing this theme you will be able to:.Display the directory of your componet: src elements components.vue.Specify the component docs.Display props, procedures &amp celebrations.Feature the part's segregated consumption guidelines.Filter elements by label.and extra ...Utilization.This template is actually Vue 2.x only.This is actually a venture theme for vue-cli.$ npm set up -g vue-cli.$ vue init InCuca/vue-standalone-component my-component.$ cd my-component.$ npm put in.While operating the above commands you will certainly obtain some motivates and also some instructions in steps regarding exactly how to compose parts.After you are actually performed run:.$ npm operated offer.You can now watch design resource in the browser. visiting:.Local area: http://localhost:6062/.The generated result in./ dist could be made use of along with nodule as well as the web browser.PS: to build to UMD function npm operate develop: umd.What's Included.Linting.$ npm functioned lint.Screening &amp Test Protection.$ npm operated examination.$ npm operated test: watch.$ npm run examination: cov.Structure.ES6 Modules/ CommonJS.$ npm run build.import myCmp coming from 'dist/my-cmp'.Vue.component(' my-cmp', myCmp).UMD.$ npm operate develop: umd.
If you are actually intrigued for even more about this design template or even you possess any tips or insects, visit here.

Articles You Can Be Interested In