.vue-standalone-component.A design template for the Vue cli is actually offered to aid you build parts with livecoding, exams, paperwork and also demonstrations. Create your standalone parts using this very small layout.Utilizing this layout you will definitely manage to:.Show the directory of your componet: src elements components.vue.Detail the part doctors.Feature props, strategies & events.Display the part's isolated usage instructions.Filter parts by name.as well as extra ...Use.This template is actually Vue 2.x only.This is a project theme for vue-cli.$ npm put up -g vue-cli.$ vue init InCuca/vue-standalone-component my-component.$ cd my-component.$ npm put in.While managing the above orders you will definitely obtain some urges and some guidelines symphonious concerning how to create components.After you are actually carried out run:.$ npm managed offer.You may currently see style guide in the web browser. visiting:.Local area: http://localhost:6062/.The generated output in./ dist can be made use of with node and the web browser.PS: to create to UMD function npm operate develop: umd.What's Consisted of.Linting.$ npm worked lint.Screening & Examination Protection.$ npm worked test.$ npm operated exam: watch.$ npm functioned test: cov.Building.ES6 Elements/ CommonJS.$ npm run develop.import myCmp coming from 'dist/my-cmp'.Vue.component(' my-cmp', myCmp).UMD.$ npm run build: umd.
If you are intrigued for more concerning this design template or even you have any kind of ideas or even pests, click on this link.