.vue-standalone-component.A theme for the Vue cli is readily available to aid you develop elements with livecoding, tests, documents and also trials. Construct your standalone elements utilizing this tiny template.Utilizing this layout you are going to manage to:.Display the listing of your componet: src parts components.vue.Note the part docs.Display props, methods & occasions.Display the component’s segregated consumption directions.Filter parts by name.as well as even more …Use.This theme is Vue 2.x merely.This is a job layout for vue-cli.$ npm install -g vue-cli.$ vue init InCuca/vue-standalone-component my-component.$ cd my-component.$ npm mount.While managing the above commands you will receive some prompts and also some guidelines symphonious about how to create components.After you are performed run:.$ npm run serve.You may currently check out type manual in the internet browser. visiting:.Nearby: http://localhost:6062/.The generated result in./ dist could be utilized with nodule as well as the web browser.PS: to develop to UMD function npm run construct: umd.What’s Consisted of.Linting.$ npm functioned lint.Testing & Examination Insurance Coverage.$ npm worked examination.$ npm functioned exam: check out.$ npm worked examination: cov.Building.ES6 Modules/ CommonJS.$ npm run develop.bring in myCmp from ‘dist/my-cmp’.Vue.component(‘ my-cmp’, myCmp).UMD.$ npm operate create: umd.
If you are actually intrigued for more concerning this theme or you possess any tips or bugs, click here.