Sleep

Vue cli design template to build components with livecoding, examinations, records &amp additional

.vue-standalone-component.A layout for the Vue cli is actually available to assist you create components with livecoding, tests, documents and also demonstrations. Construct your standalone parts utilizing this very small layout.Utilizing this layout you will definitely manage to:.Display the directory site of your componet: src parts components.vue.Detail the part doctors.Present props, techniques &amp events.Show the component's isolated consumption instructions.Filter components through label.and extra ...Utilization.This theme is Vue 2.x only.This is actually a project template for vue-cli.$ npm mount -g vue-cli.$ vue init InCuca/vue-standalone-component my-component.$ cd my-component.$ npm mount.While operating the above commands you will obtain some cues and some directions in steps regarding just how to compose components.After you are performed operate:.$ npm managed serve.You can currently check out design quick guide in the internet browser. checking out:.Local area: http://localhost:6062/.The created result in./ dist could be used along with node as well as the web browser.PS: to create to UMD work npm function create: umd.What is actually Included.Linting.$ npm operated lint.Screening &amp Test Protection.$ npm operated test.$ npm run exam: watch.$ npm functioned examination: cov.Property.ES6 Modules/ CommonJS.$ npm operate create.bring in myCmp coming from 'dist/my-cmp'.Vue.component(' my-cmp', myCmp).UMD.$ npm run develop: umd.
If you are actually interested for even more regarding this design template or you possess any pointers or even pests, visit here.