Sleep

Vue cli layout to develop elements with livecoding, tests, records &amp even more

.vue-standalone-component.A layout for the Vue cli is actually on call to help you create components with livecoding, exams, information and also demos. Construct your standalone components utilizing this tiny layout.Utilizing this design template you will have the capacity to:.Present the listing of your componet: src parts components.vue.Specify the part docs.Feature props, methods &amp activities.Present the component's separated usage directions.Filter parts by title.and also much more ...Consumption.This template is Vue 2.x only.This is actually a venture design 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 definitely obtain some causes as well as some guidelines symphonious concerning just how to write elements.After you are actually carried out operate:.$ npm managed serve.You can easily currently see type quick guide in the internet browser. going to:.Local area: http://localhost:6062/.The generated outcome in./ dist may be utilized along with nodule and the internet browser.PS: to create to UMD operate npm run construct: umd.What is actually Included.Linting.$ npm run dust.Screening &amp Examination Insurance Coverage.$ npm worked examination.$ npm operated test: watch.$ npm functioned test: cov.Property.ES6 Components/ CommonJS.$ npm run construct.bring in myCmp coming from 'dist/my-cmp'.Vue.component(' my-cmp', myCmp).UMD.$ npm run build: umd.
If you are actually fascinated for even more about this theme or even you possess any pointers or insects, click here.