Sleep

Vue cli theme to construct elements along with livecoding, exams, information &amp even more

.vue-standalone-component.A template for the Vue cli is available to assist you develop parts with livecoding, examinations, documentation as well as demos. Develop your standalone parts utilizing this tiny layout.Using this template you are going to be able to:.Feature the listing of your componet: src parts components.vue.Note the element docs.Show props, procedures &amp occasions.Feature the component's separated usage instructions.Filter parts by name.and more ...Utilization.This theme is Vue 2.x just.This is a venture theme for vue-cli.$ npm set up -g vue-cli.$ vue init InCuca/vue-standalone-component my-component.$ cd my-component.$ npm set up.While running the above commands you will obtain some cues and some directions in steps about exactly how to create parts.After you are done run:.$ npm run serve.You can easily right now see design resource in the internet browser. seeing:.Local area: http://localhost:6062/.The created output in./ dist can be used with node as well as the internet browser.PS: to construct to UMD run npm work construct: umd.What's Consisted of.Linting.$ npm operated lint.Testing &amp Examination Coverage.$ npm run exam.$ npm run examination: watch.$ npm run test: cov.Building.ES6 Components/ CommonJS.$ npm operate develop.import myCmp from 'dist/my-cmp'.Vue.component(' my-cmp', myCmp).UMD.$ npm run build: umd.
If you are actually fascinated for additional regarding this layout or you possess any sort of suggestions or even bugs, click here.