Sleep

Vue cli template to develop components with livecoding, tests, paperwork &amp more

.vue-standalone-component.A layout for the Vue cli is actually accessible to assist you build elements with livecoding, exams, documents as well as demonstrations. Create your standalone components utilizing this tiny design template.Utilizing this template you are going to be able to:.Feature the directory of your componet: src parts components.vue.Note the element doctors.Present props, procedures &amp activities.Present the element's segregated consumption directions.Filter elements by label.and much more ...Usage.This theme is actually Vue 2.x just.This is actually a project theme for vue-cli.$ npm mount -g vue-cli.$ vue init InCuca/vue-standalone-component my-component.$ cd my-component.$ npm set up.While operating the above orders you will acquire some prompts and also some instructions in steps concerning just how to compose components.After you are done operate:.$ npm operated provide.You can easily right now see type resource in the web browser. checking out:.Nearby: http://localhost:6062/.The created outcome in./ dist may be utilized along with node and also the internet browser.PS: to build to UMD function npm function develop: umd.What is actually Consisted of.Linting.$ npm worked lint.Screening &amp Test Protection.$ npm operated exam.$ npm operated test: view.$ npm worked examination: cov.Building.ES6 Components/ CommonJS.$ npm run build.bring in myCmp coming from 'dist/my-cmp'.Vue.component(' my-cmp', myCmp).UMD.$ npm run construct: umd.
If you are interested for additional concerning this layout or even you possess any sort of suggestions or even insects, click here.