Sleep

Vue cli theme to develop elements along with livecoding, tests, documents &amp even more

.vue-standalone-component.A theme for the Vue cli is actually offered to aid you construct parts along with livecoding, examinations, documentation and also demonstrations. Build your standalone elements using this small layout.Utilizing this layout you are going to manage to:.Display the listing of your componet: src parts components.vue.Provide the element doctors.Show props, strategies &amp events.Present the element's isolated utilization instructions.Filter elements through label.and more ...Utilization.This theme is Vue 2.x merely.This is actually a task design template for vue-cli.$ npm install -g vue-cli.$ vue init InCuca/vue-standalone-component my-component.$ cd my-component.$ npm set up.While running the above orders you will certainly receive some triggers as well as some guidelines symphonious regarding exactly how to write parts.After you are done run:.$ npm run serve.You can currently look at design guide in the internet browser. checking out:.Regional: http://localhost:6062/.The created result in./ dist could be utilized along with nodule and also the browser.PS: to construct to UMD work npm operate create: umd.What's Consisted of.Linting.$ npm functioned lint.Screening &amp Test Insurance Coverage.$ npm functioned test.$ npm run test: watch.$ npm operated examination: cov.Building.ES6 Elements/ CommonJS.$ npm run develop.bring in myCmp from 'dist/my-cmp'.Vue.component(' my-cmp', myCmp).UMD.$ npm operate develop: umd.
If you are intrigued for more concerning this design template or even you possess any type of ideas or insects, click here.