Sleep

Vue cli layout to build components along with livecoding, examinations, records &amp additional

.vue-standalone-component.A template for the Vue cli is actually readily available to assist you create elements along with livecoding, tests, documents and trials. Develop your standalone components utilizing this tiny design template.Utilizing this design template you will certainly have the capacity to:.Display the directory of your componet: src components components.vue.Detail the component docs.Present props, approaches &amp occasions.Present the element's segregated consumption directions.Filter components by label.as well as much more ...Usage.This theme is Vue 2.x simply.This is a job template 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 obtain some causes as well as some instructions symphonious regarding exactly how to write elements.After you are actually carried out operate:.$ npm operated offer.You can easily now see design resource in the web browser. seeing:.Nearby: http://localhost:6062/.The created output in./ dist could be used along with nodule and also the browser.PS: to build to UMD function npm operate build: umd.What is actually Featured.Linting.$ npm functioned lint.Testing &amp Examination Protection.$ npm run exam.$ npm run examination: check out.$ npm functioned examination: cov.Property.ES6 Components/ CommonJS.$ npm run construct.import myCmp coming from 'dist/my-cmp'.Vue.component(' my-cmp', myCmp).UMD.$ npm run build: umd.
If you are actually curious for even more regarding this theme or you have any sort of recommendations or even bugs, click here.

Articles You Can Be Interested In