Sleep

Vue cli layout to create components along with livecoding, tests, documentation &amp more

.vue-standalone-component.A layout for the Vue cli is on call to help you develop components along with livecoding, exams, documents and demos. Construct your standalone elements using this tiny layout.Using this theme you will have the ability to:.Show the listing of your componet: src elements components.vue.Note the component docs.Display props, methods &amp occasions.Show the part's separated utilization guidelines.Filter elements by title.and much more ...Use.This layout is Vue 2.x only.This is actually a job template for vue-cli.$ npm put in -g vue-cli.$ vue init InCuca/vue-standalone-component my-component.$ cd my-component.$ npm install.While operating the above orders you will definitely receive some causes as well as some directions symphonious regarding how to create parts.After you are actually done run:.$ npm run provide.You can easily right now see design manual in the internet browser. exploring:.Local area: http://localhost:6062/.The produced output in./ dist could be utilized with nodule and also the web browser.PS: to create to UMD operate npm operate construct: umd.What is actually Included.Linting.$ npm functioned dust.Testing &amp Test Coverage.$ npm operated examination.$ npm run examination: view.$ npm worked exam: cov.Structure.ES6 Modules/ CommonJS.$ npm run develop.import myCmp from 'dist/my-cmp'.Vue.component(' my-cmp', myCmp).UMD.$ npm run construct: umd.
If you are interested for additional about this template or you possess any tips or even insects, click on this link.