.vue-standalone-component.A template for the Vue cli is actually on call to help you construct components along with livecoding, exams, documentation as well as demos. Construct your standalone parts utilizing this small layout.Utilizing this layout you will manage to:.Display the directory of your componet: src parts components.vue.Note the element docs.Present props, techniques & events.Feature the part's segregated use guidelines.Filter parts through title.as well as a lot more ...Use.This theme is actually Vue 2.x merely.This is actually a project template for vue-cli.$ npm mount -g vue-cli.$ vue init InCuca/vue-standalone-component my-component.$ cd my-component.$ npm put in.While running the above orders you are going to acquire some urges and also some instructions symphonious concerning how to compose parts.After you are done run:.$ npm managed serve.You may right now look at design overview in the internet browser. exploring:.Local: http://localhost:6062/.The produced result in./ dist can be made use of along with nodule and the internet browser.PS: to construct to UMD function npm work construct: umd.What's Featured.Linting.$ npm run lint.Screening & Exam Coverage.$ npm functioned examination.$ npm worked test: watch.$ npm functioned test: cov.Building.ES6 Elements/ CommonJS.$ npm run create.bring in myCmp from 'dist/my-cmp'.Vue.component(' my-cmp', myCmp).UMD.$ npm operate develop: umd.
If you are actually intrigued for additional regarding this theme or you possess any sort of tips or insects, visit here.