.vue-standalone-component.A layout for the Vue cli is accessible to aid you construct parts along with livecoding, exams, information as well as demonstrations. Build your standalone components using this very small layout.Using this theme you are going to be able to:.Show the directory of your componet: src parts components.vue.Note the part docs.Feature props, strategies & occasions.Present the component's isolated usage instructions.Filter parts through title.as well as more ...Consumption.This theme is actually Vue 2.x only.This is actually a job template for vue-cli.$ npm put up -g vue-cli.$ vue init InCuca/vue-standalone-component my-component.$ cd my-component.$ npm put up.While managing the above commands you are going to acquire some prompts and some instructions in steps concerning just how to compose components.After you are actually performed run:.$ npm managed provide.You may currently look at design resource in the internet browser. checking out:.Local: http://localhost:6062/.The created output in./ dist can be made use of along with nodule as well as the internet browser.PS: to create to UMD work npm function develop: umd.What's Featured.Linting.$ npm functioned dust.Testing & Examination Protection.$ npm operated exam.$ npm functioned exam: watch.$ npm run exam: cov.Structure.ES6 Modules/ CommonJS.$ npm operate build.import myCmp from 'dist/my-cmp'.Vue.component(' my-cmp', myCmp).UMD.$ npm run build: umd.
If you are curious for even more about this template or you possess any ideas or even bugs, click here.