Sleep

Vue cli template to build components along with livecoding, exams, documents &amp more

.vue-standalone-component.A layout for the Vue cli is actually readily available to help you construct elements along with livecoding, exams, documents as well as demonstrations. Build your standalone elements utilizing this little theme.Using this theme you will have the ability to:.Present the directory site of your componet: src elements components.vue.Specify the element docs.Show props, procedures &amp occasions.Show the part's segregated usage instructions.Filter components by label.and also even more ...Consumption.This template is actually Vue 2.x just.This is a task layout for vue-cli.$ npm install -g vue-cli.$ vue init InCuca/vue-standalone-component my-component.$ cd my-component.$ npm mount.While operating the above commands you will definitely acquire some urges and also some instructions in steps about exactly how to write components.After you are actually carried out run:.$ npm managed offer.You can easily right now view design manual in the internet browser. going to:.Neighborhood: http://localhost:6062/.The generated result in./ dist may be made use of along with nodule as well as the internet browser.PS: to construct to UMD function npm function construct: umd.What is actually Included.Linting.$ npm functioned dust.Screening &amp Exam Insurance Coverage.$ npm operated examination.$ npm worked test: view.$ npm operated exam: cov.Building.ES6 Elements/ CommonJS.$ npm operate construct.import myCmp from 'dist/my-cmp'.Vue.component(' my-cmp', myCmp).UMD.$ npm run create: umd.
If you are fascinated for more about this template or you possess any suggestions or even insects, visit here.