Sleep

Vue cli theme to develop components along with livecoding, tests, documentation &amp even more

.vue-standalone-component.A layout for the Vue cli is actually accessible to help you develop parts with livecoding, tests, records as well as demonstrations. Develop your standalone components utilizing this very small template.Utilizing this theme you are going to have the capacity to:.Feature the directory site of your componet: src parts components.vue.List the element docs.Feature props, techniques &amp activities.Show the element's isolated utilization directions.Filter elements through title.and a lot more ...Consumption.This template is Vue 2.x just.This is a task template for vue-cli.$ npm put up -g vue-cli.$ vue init InCuca/vue-standalone-component my-component.$ cd my-component.$ npm put in.While operating the above commands you will certainly get some causes and also some instructions symphonious regarding exactly how to compose parts.After you are actually carried out run:.$ npm operated provide.You can currently see type quick guide in the internet browser. going to:.Local area: http://localhost:6062/.The produced outcome in./ dist could be used with node and the internet browser.PS: to build to UMD operate npm operate construct: umd.What's Included.Linting.$ npm operated lint.Testing &amp Examination Coverage.$ npm operated test.$ npm run test: check out.$ npm worked test: cov.Building.ES6 Modules/ CommonJS.$ npm run develop.bring in myCmp coming from 'dist/my-cmp'.Vue.component(' my-cmp', myCmp).UMD.$ npm operate create: umd.
If you are interested for even more regarding this layout or you have any sort of recommendations or even insects, click on this link.