.vue-standalone-component.A design template for the Vue cli is readily available to assist you develop components with livecoding, exams, paperwork and also trials. Develop your standalone components using this little theme.Utilizing this layout you are going to be able to:.Feature the directory site of your componet: src elements components.vue.Provide the element docs.Feature props, techniques & events.Display the component's isolated utilization directions.Filter components by label.and a lot more ...Consumption.This design template is Vue 2.x merely.This is a project layout for vue-cli.$ npm put up -g vue-cli.$ vue init InCuca/vue-standalone-component my-component.$ cd my-component.$ npm mount.While operating the above orders you will certainly get some prompts and some guidelines in steps concerning just how to create parts.After you are actually carried out run:.$ npm managed offer.You can currently see type overview in the internet browser. going to:.Local: http://localhost:6062/.The created outcome in./ dist can be utilized with nodule and the browser.PS: to build to UMD operate npm operate develop: umd.What is actually Featured.Linting.$ npm operated lint.Testing & Test Protection.$ npm run examination.$ npm worked test: view.$ npm worked examination: cov.Structure.ES6 Modules/ CommonJS.$ npm run construct.bring in myCmp from 'dist/my-cmp'.Vue.component(' my-cmp', myCmp).UMD.$ npm operate construct: umd.
If you are curious for even more regarding this design template or even you have any recommendations or pests, click on this link.