Sleep

Vue cli design template to build components with livecoding, tests, documents &amp additional

.vue-standalone-component.A template for the Vue cli is readily available to help you construct components along with livecoding, exams, paperwork as well as demos. Create your standalone elements utilizing this very small template.Using this design template you will definitely manage to:.Feature the directory of your componet: src components components.vue.List the part doctors.Present props, techniques &amp occasions.Display the element's separated consumption guidelines.Filter elements by label.and more ...Utilization.This layout is actually Vue 2.x simply.This is a project layout for vue-cli.$ npm put up -g vue-cli.$ vue init InCuca/vue-standalone-component my-component.$ cd my-component.$ npm mount.While operating the above orders you will definitely acquire some triggers as well as some directions symphonious regarding how to write parts.After you are performed run:.$ npm managed provide.You can right now check out style quick guide in the web browser. exploring:.Local area: http://localhost:6062/.The created outcome in./ dist can be used along with nodule and also the web browser.PS: to create to UMD work npm work build: umd.What's Included.Linting.$ npm run lint.Screening &amp Test Insurance Coverage.$ npm functioned test.$ npm run test: watch.$ npm worked test: cov.Property.ES6 Elements/ CommonJS.$ npm run build.bring in myCmp coming from 'dist/my-cmp'.Vue.component(' my-cmp', myCmp).UMD.$ npm run construct: umd.
If you are intrigued for more about this design template or you have any sort of suggestions or even bugs, visit this site.

Articles You Can Be Interested In