Sleep

Vue cli theme to develop elements along with livecoding, exams, documents &amp additional

.vue-standalone-component.A design template for the Vue cli is actually readily available to help you build components along with livecoding, exams, information as well as demos. Develop your standalone parts using this very small template.Using this theme you are going to have the ability to:.Feature the directory of your componet: src components components.vue.Note the element doctors.Present props, strategies &amp activities.Display the part's segregated consumption instructions.Filter elements by title.and also a lot more ...Use.This theme is actually Vue 2.x merely.This is actually a project theme 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 commands you will definitely get some urges and also some directions in steps about how to compose elements.After you are performed run:.$ npm run offer.You may now see design overview in the browser. going to:.Local area: http://localhost:6062/.The produced outcome in./ dist may be used with nodule as well as the internet browser.PS: to build to UMD operate npm operate develop: umd.What's Included.Linting.$ npm functioned lint.Testing &amp Examination Protection.$ npm run exam.$ npm functioned test: check out.$ npm run exam: cov.Property.ES6 Modules/ CommonJS.$ npm operate develop.bring in myCmp coming from 'dist/my-cmp'.Vue.component(' my-cmp', myCmp).UMD.$ npm run create: umd.
If you are actually interested for even more concerning this layout or even you possess any type of tips or even insects, go here.

Articles You Can Be Interested In