.vue-standalone-component.A theme for the Vue cli is readily available to help you create parts along with livecoding, tests, information and also demonstrations. Build your standalone elements utilizing this tiny theme.Utilizing this layout you are going to manage to:.Present the directory site of your componet: src parts components.vue.List the part doctors.Show props, methods & occasions.Show the component's separated consumption instructions.Filter components by title.and also a lot more ...Use.This template is Vue 2.x merely.This is a project design template for vue-cli.$ npm mount -g vue-cli.$ vue init InCuca/vue-standalone-component my-component.$ cd my-component.$ npm install.While running the above demands you will certainly acquire some motivates and some directions in steps regarding how to write elements.After you are performed run:.$ npm managed offer.You may right now look at style resource in the browser. seeing:.Local: http://localhost:6062/.The produced output in./ dist can be used with nodule and the browser.PS: to build to UMD work npm operate construct: umd.What's Consisted of.Linting.$ npm worked lint.Screening & Examination Protection.$ npm run examination.$ npm functioned test: check out.$ npm worked examination: cov.Property.ES6 Modules/ CommonJS.$ npm run create.import myCmp from 'dist/my-cmp'.Vue.component(' my-cmp', myCmp).UMD.$ npm run build: umd.
If you are actually fascinated for more regarding this layout or even you possess any tips or even pests, click here.