Sleep

Vue cli design template to develop elements with livecoding, tests, records &amp more

.vue-standalone-component.A theme for the Vue cli is on call to help you develop elements with livecoding, examinations, documents and demonstrations. Construct your standalone elements using this very small theme.Utilizing this template you will definitely have the ability to:.Feature the listing of your componet: src parts components.vue.List the element docs.Present props, approaches &amp events.Display the component's separated use guidelines.Filter elements through label.and extra ...Consumption.This design template is actually Vue 2.x only.This is a task theme for vue-cli.$ npm put up -g vue-cli.$ vue init InCuca/vue-standalone-component my-component.$ cd my-component.$ npm set up.While running the above orders you will certainly acquire some triggers and some instructions symphonious about just how to compose parts.After you are done run:.$ npm run provide.You can easily right now watch design resource in the internet browser. going to:.Local: http://localhost:6062/.The produced outcome in./ dist could be used along with node as well as the browser.PS: to build to UMD function npm operate develop: umd.What's Included.Linting.$ npm functioned lint.Testing &amp Test Protection.$ npm operated exam.$ npm operated exam: check out.$ npm functioned exam: cov.Property.ES6 Components/ CommonJS.$ npm run develop.import myCmp from 'dist/my-cmp'.Vue.component(' my-cmp', myCmp).UMD.$ npm operate develop: umd.
If you are curious for even more about this design template or you possess any type of pointers or pests, click on this link.