Sleep

Vue cli design template to build components along with livecoding, exams, documents &amp more

.vue-standalone-component.A design template for the Vue cli is actually offered to help you build elements along with livecoding, examinations, documents and also demos. Build your standalone parts utilizing this very small theme.Utilizing this layout you are going to have the ability to:.Show the listing of your componet: src parts components.vue.Specify the part docs.Present props, techniques &amp events.Show the part's segregated usage instructions.Filter components through label.and also a lot more ...Usage.This template is actually Vue 2.x only.This is a project design template for vue-cli.$ npm install -g vue-cli.$ vue init InCuca/vue-standalone-component my-component.$ cd my-component.$ npm install.While operating the above commands you will acquire some cues and also some directions in steps concerning how to create parts.After you are actually done run:.$ npm managed provide.You may currently view style resource in the internet browser. checking out:.Regional: http://localhost:6062/.The produced output in./ dist could be utilized along with nodule and the internet browser.PS: to build to UMD work npm function build: umd.What is actually Featured.Linting.$ npm run lint.Screening &amp Exam Coverage.$ npm functioned examination.$ npm operated exam: watch.$ npm run exam: cov.Property.ES6 Components/ CommonJS.$ npm operate construct.import myCmp coming from 'dist/my-cmp'.Vue.component(' my-cmp', myCmp).UMD.$ npm run build: umd.
If you are curious for additional regarding this layout or you possess any sort of suggestions or bugs, visit this site.