.vue-standalone-component.A layout for the Vue cli is accessible to help you develop components along with livecoding, exams, documentation and demos. Develop your standalone elements utilizing this very small theme.Utilizing this theme you will definitely have the ability to:.Show the listing of your componet: src components components.vue.List the component docs.Present props, procedures & events.Show the component's separated usage instructions.Filter elements by label.and also a lot more ...Usage.This template is Vue 2.x only.This is actually a project design template for vue-cli.$ npm mount -g vue-cli.$ vue init InCuca/vue-standalone-component my-component.$ cd my-component.$ npm put in.While operating the above demands you will acquire some triggers as well as some instructions symphonious concerning how to compose components.After you are done run:.$ npm operated offer.You can easily right now watch type overview in the internet browser. seeing:.Local: http://localhost:6062/.The generated result in./ dist may be used with nodule as well as the browser.PS: to construct to UMD function npm function create: umd.What's Featured.Linting.$ npm operated lint.Screening & Test Insurance Coverage.$ npm run test.$ npm worked exam: check out.$ npm operated exam: cov.Structure.ES6 Modules/ CommonJS.$ npm run construct.bring in myCmp coming from 'dist/my-cmp'.Vue.component(' my-cmp', myCmp).UMD.$ npm run develop: umd.
If you are actually curious for additional about this design template or you possess any kind of recommendations or even bugs, click on this link.