Sleep

Vue cli theme to build components with livecoding, tests, records &amp even more

.vue-standalone-component.A design template for the Vue cli is actually readily available to assist you build parts with livecoding, examinations, documentation and demos. Construct your standalone elements utilizing this very small layout.Using this template you will have the ability to:.Feature the listing of your componet: src parts components.vue.Detail the element docs.Feature props, procedures &amp celebrations.Feature the component's separated usage instructions.Filter components through label.and a lot more ...Utilization.This theme is actually Vue 2.x only.This is a venture template for vue-cli.$ npm set up -g vue-cli.$ vue init InCuca/vue-standalone-component my-component.$ cd my-component.$ npm install.While operating the above commands you will definitely acquire some cues and some instructions in steps regarding exactly how to create parts.After you are actually done run:.$ npm managed provide.You can easily now view style guide in the browser. exploring:.Neighborhood: http://localhost:6062/.The generated outcome in./ dist may be utilized with nodule and the web browser.PS: to construct to UMD function npm operate create: umd.What's Consisted of.Linting.$ npm functioned dust.Screening &amp Exam Insurance Coverage.$ npm run examination.$ npm worked test: watch.$ npm functioned test: cov.Building.ES6 Elements/ CommonJS.$ npm operate construct.import myCmp coming from 'dist/my-cmp'.Vue.component(' my-cmp', myCmp).UMD.$ npm operate create: umd.
If you are curious for additional concerning this template or even you possess any sort of tips or even insects, visit this site.