.vue-standalone-component.A template for the Vue cli is offered to aid you build components along with livecoding, exams, paperwork as well as trials. Create your standalone elements utilizing this small layout.Utilizing this design template you will be able to:.Display the listing of your componet: src elements components.vue.Provide the part doctors.Feature props, methods & events.Display the part's separated consumption directions.Filter elements by name.as well as much more ...Usage.This template is Vue 2.x simply.This is actually a task layout for vue-cli.$ npm put up -g vue-cli.$ vue init InCuca/vue-standalone-component my-component.$ cd my-component.$ npm set up.While managing the above demands you are going to receive some cues and some instructions symphonious about exactly how to compose components.After you are done operate:.$ npm managed serve.You may right now look at style manual in the web browser. seeing:.Nearby: http://localhost:6062/.The created result in./ dist could be used with nodule and also the browser.PS: to develop to UMD run npm run create: umd.What is actually Consisted of.Linting.$ npm operated lint.Testing & Examination Protection.$ npm worked exam.$ npm worked exam: check out.$ npm operated examination: cov.Structure.ES6 Elements/ CommonJS.$ npm operate create.bring in myCmp from 'dist/my-cmp'.Vue.component(' my-cmp', myCmp).UMD.$ npm operate create: umd.
If you are actually interested for more regarding this theme or even you possess any kind of ideas or even bugs, go here.