Sleep

Vue cli layout to build elements with livecoding, tests, paperwork &amp even more

.vue-standalone-component.A theme for the Vue cli is actually accessible to assist you develop elements with livecoding, exams, information and demonstrations. Create your standalone elements utilizing this tiny design template.Utilizing this layout you will be able to:.Display the directory of your componet: src elements components.vue.Note the part docs.Feature props, strategies &amp occasions.Display the element's separated use directions.Filter elements by title.and also much more ...Consumption.This theme is Vue 2.x only.This is a project theme for vue-cli.$ npm put in -g vue-cli.$ vue init InCuca/vue-standalone-component my-component.$ cd my-component.$ npm put in.While operating the above orders you will definitely receive some cues and also some instructions in steps about how to compose components.After you are done run:.$ npm operated offer.You may currently look at type manual in the browser. checking out:.Regional: http://localhost:6062/.The created output in./ dist could be made use of along with nodule and also the browser.PS: to create to UMD operate npm operate build: umd.What's Consisted of.Linting.$ npm run dust.Testing &amp Examination Protection.$ npm run test.$ npm run test: check out.$ npm operated examination: cov.Building.ES6 Modules/ CommonJS.$ npm operate construct.import myCmp from 'dist/my-cmp'.Vue.component(' my-cmp', myCmp).UMD.$ npm operate develop: umd.
If you are actually intrigued for even more about this template or you have any sort of recommendations or even insects, visit here.