.vue-standalone-component.A theme for the Vue cli is on call to assist you create components with livecoding, examinations, records and also trials. Create your standalone elements using this very small layout.Using this theme you are going to be able to:.Display the listing of your componet: src parts components.vue.Provide the element doctors.Show props, procedures & occasions.Show the element's isolated usage instructions.Filter components through title.as well as extra ...Consumption.This theme is actually Vue 2.x only.This is a task layout for vue-cli.$ npm put in -g vue-cli.$ vue init InCuca/vue-standalone-component my-component.$ cd my-component.$ npm install.While managing the above demands you are going to receive some urges and also some directions symphonious about how to compose components.After you are done operate:.$ npm run serve.You can easily currently view design guide in the internet browser. seeing:.Nearby: http://localhost:6062/.The produced output in./ dist can be utilized with nodule as well as the web browser.PS: to build to UMD work npm operate develop: umd.What's Consisted of.Linting.$ npm run lint.Testing & Test Protection.$ npm worked examination.$ npm run test: check out.$ npm worked test: cov.Building.ES6 Modules/ CommonJS.$ npm run build.import myCmp coming from 'dist/my-cmp'.Vue.component(' my-cmp', myCmp).UMD.$ npm operate create: umd.
If you are actually curious for more concerning this layout or you possess any type of suggestions or bugs, go here.