Sleep

Vue cli theme to build elements along with livecoding, examinations, documents &amp more

.vue-standalone-component.A layout for the Vue cli is available to help you build components along with livecoding, tests, information and also trials. Develop your standalone parts utilizing this little layout.Using this layout you will certainly be able to:.Display the directory site of your componet: src parts components.vue.Detail the element doctors.Present props, strategies &amp occasions.Display the component's segregated utilization directions.Filter components through label.and even more ...Usage.This layout is Vue 2.x only.This is a project layout for vue-cli.$ npm set up -g vue-cli.$ vue init InCuca/vue-standalone-component my-component.$ cd my-component.$ npm mount.While managing the above demands you are going to acquire some prompts and some guidelines in steps concerning how to compose components.After you are carried out operate:.$ npm operated offer.You may currently see design overview in the browser. visiting:.Nearby: http://localhost:6062/.The created result in./ dist could be used with node and the browser.PS: to construct to UMD function npm run create: umd.What's Consisted of.Linting.$ npm run lint.Screening &amp Exam Coverage.$ npm operated examination.$ npm operated exam: check out.$ npm operated test: cov.Property.ES6 Modules/ CommonJS.$ npm operate construct.import myCmp coming from 'dist/my-cmp'.Vue.component(' my-cmp', myCmp).UMD.$ npm operate create: umd.
If you are actually interested for more regarding this template or even you possess any kind of ideas or even bugs, click on this link.

Articles You Can Be Interested In