Sleep

Vue cli theme to develop parts along with livecoding, examinations, documentation &amp additional

.vue-standalone-component.A template for the Vue cli is readily available to help you develop parts with livecoding, tests, documents and demos. Create your standalone components using this small template.Utilizing this template you will definitely have the ability to:.Present the directory site of your componet: src components components.vue.Specify the element docs.Feature props, strategies &amp celebrations.Display the part's segregated usage instructions.Filter elements by label.as well as much more ...Use.This theme is Vue 2.x only.This is a job template for vue-cli.$ npm install -g vue-cli.$ vue init InCuca/vue-standalone-component my-component.$ cd my-component.$ npm put up.While managing the above commands you will definitely obtain some urges and some instructions symphonious concerning exactly how to compose parts.After you are actually carried out run:.$ npm run serve.You can currently watch style guide in the browser. visiting:.Neighborhood: http://localhost:6062/.The created outcome in./ dist may be made use of along with node and the internet browser.PS: to create to UMD function npm operate develop: umd.What's Featured.Linting.$ npm worked dust.Screening &amp Exam Insurance Coverage.$ npm worked test.$ npm worked test: view.$ npm functioned exam: cov.Property.ES6 Modules/ CommonJS.$ npm operate develop.import myCmp coming from 'dist/my-cmp'.Vue.component(' my-cmp', myCmp).UMD.$ npm run construct: umd.
If you are curious for additional about this layout or even you have any sort of ideas or even insects, visit this site.