Sleep

Vue cli theme to create parts along with livecoding, examinations, documentation &amp additional

.vue-standalone-component.A template for the Vue cli is actually offered to aid you construct elements along with livecoding, tests, documentation and trials. Create your standalone parts using this small theme.Using this theme you will definitely be able to:.Display the directory of your componet: src parts components.vue.Provide the component doctors.Present props, approaches &amp celebrations.Present the element's separated use guidelines.Filter components through label.and a lot more ...Consumption.This template is Vue 2.x only.This is a project template 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 commands you will certainly receive some urges and also some directions symphonious regarding exactly how to compose elements.After you are actually carried out operate:.$ npm run offer.You can now watch design quick guide in the internet browser. exploring:.Local: http://localhost:6062/.The produced result in./ dist may be utilized with nodule as well as the internet browser.PS: to build to UMD operate npm work build: umd.What's Consisted of.Linting.$ npm operated lint.Testing &amp Exam Protection.$ npm operated exam.$ npm functioned exam: view.$ npm worked examination: cov.Property.ES6 Components/ CommonJS.$ npm operate develop.import myCmp coming from 'dist/my-cmp'.Vue.component(' my-cmp', myCmp).UMD.$ npm run construct: umd.
If you are actually intrigued for even more concerning this layout or you possess any suggestions or bugs, visit here.