Sleep

Vue cli template to develop elements with livecoding, exams, records &amp more

.vue-standalone-component.A layout for the Vue cli is actually accessible to assist you build components with livecoding, tests, records and trials. Create your standalone elements utilizing this very small template.Using this design template you will certainly be able to:.Present the listing of your componet: src components components.vue.Specify the element doctors.Feature props, approaches &amp celebrations.Display the part's isolated usage directions.Filter components through name.as well as even more ...Usage.This template is actually Vue 2.x merely.This is actually a venture template for vue-cli.$ npm put up -g vue-cli.$ vue init InCuca/vue-standalone-component my-component.$ cd my-component.$ npm put up.While managing the above demands you will acquire some triggers as well as some instructions symphonious regarding exactly how to create components.After you are actually performed run:.$ npm operated provide.You can currently check out style guide in the web browser. checking out:.Regional: http://localhost:6062/.The created result in./ dist can be utilized along with nodule and also the web browser.PS: to create to UMD operate npm work create: umd.What's Featured.Linting.$ npm operated lint.Testing &amp Exam Protection.$ npm operated test.$ npm functioned test: check out.$ npm run exam: cov.Structure.ES6 Components/ CommonJS.$ npm run develop.bring in myCmp from 'dist/my-cmp'.Vue.component(' my-cmp', myCmp).UMD.$ npm run build: umd.
If you are actually curious for additional concerning this design template or you have any kind of tips or bugs, visit this site.