Sleep

Vue cli layout to develop components with livecoding, examinations, documentation &amp even more

.vue-standalone-component.A template for the Vue cli is accessible to help you create elements along with livecoding, examinations, information as well as trials. Develop your standalone elements utilizing this tiny template.Utilizing this theme you will have the capacity to:.Feature the directory site of your componet: src parts components.vue.Specify the element docs.Present props, strategies &amp activities.Present the component's segregated utilization directions.Filter elements through title.and also a lot more ...Use.This design template is Vue 2.x just.This is actually a project layout for vue-cli.$ npm install -g vue-cli.$ vue init InCuca/vue-standalone-component my-component.$ cd my-component.$ npm mount.While operating the above commands you will certainly obtain some triggers and also some directions in steps about exactly how to write components.After you are actually performed operate:.$ npm managed provide.You may currently look at style overview in the internet browser. seeing:.Nearby: http://localhost:6062/.The produced output in./ dist could be made use of along with nodule and the browser.PS: to create to UMD run npm operate create: umd.What is actually Included.Linting.$ npm worked dust.Screening &amp Examination Coverage.$ npm run test.$ npm operated examination: watch.$ npm run examination: cov.Building.ES6 Modules/ CommonJS.$ npm operate build.bring in myCmp coming from 'dist/my-cmp'.Vue.component(' my-cmp', myCmp).UMD.$ npm operate develop: umd.
If you are actually interested for additional about this template or even you possess any sort of ideas or bugs, visit this site.