Sleep

Vue cli layout to develop elements with livecoding, examinations, paperwork &amp even more

.vue-standalone-component.A theme for the Vue cli is actually available to aid you build components along with livecoding, tests, information and trials. Construct your standalone elements using this small design template.Using this template you will definitely have the capacity to:.Feature the directory of your componet: src parts components.vue.Note the component docs.Feature props, procedures &amp events.Display the element's separated use guidelines.Filter elements by title.as well as even more ...Use.This design template is Vue 2.x merely.This is actually a venture template for vue-cli.$ npm put up -g vue-cli.$ vue init InCuca/vue-standalone-component my-component.$ cd my-component.$ npm install.While running the above orders you are going to receive some urges and some instructions symphonious regarding exactly how to compose parts.After you are performed operate:.$ npm operated offer.You can right now see type manual in the browser. going to:.Nearby: http://localhost:6062/.The generated output in./ dist could be used with node as well as the browser.PS: to develop to UMD run npm run create: umd.What's Featured.Linting.$ npm run lint.Testing &amp Test Coverage.$ npm functioned exam.$ npm functioned examination: view.$ npm operated exam: cov.Structure.ES6 Modules/ CommonJS.$ npm run build.import myCmp from 'dist/my-cmp'.Vue.component(' my-cmp', myCmp).UMD.$ npm run create: umd.
If you are curious for even more regarding this template or you possess any type of ideas or insects, click on this link.