.vue-standalone-component.A layout for the Vue cli is actually available to assist you construct elements along with livecoding, examinations, paperwork and also trials. Create your standalone elements using this very small theme.Utilizing this template you are going to be able to:.Feature the directory of your componet: src components components.vue.Provide the component docs.Feature props, procedures & celebrations.Show the component’s isolated consumption guidelines.Filter elements by title.and more …Usage.This layout is Vue 2.x merely.This is actually a venture 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 receive some causes and some directions in steps about how to write components.After you are carried out run:.$ npm operated serve.You can easily currently check out style quick guide in the web browser. checking out:.Local area: http://localhost:6062/.The generated output in./ dist can be used with node and the internet browser.PS: to create to UMD operate npm operate construct: umd.What’s Included.Linting.$ npm worked dust.Screening & Exam Coverage.$ npm worked examination.$ npm functioned test: view.$ npm functioned test: cov.Building.ES6 Elements/ CommonJS.$ npm operate build.import myCmp coming from ‘dist/my-cmp’.Vue.component(‘ my-cmp’, myCmp).UMD.$ npm operate create: umd.
If you are fascinated for more concerning this theme or you possess any sort of pointers or even pests, go here.