Sleep

Vue cli theme to develop parts with livecoding, examinations, documentation &amp even more

.vue-standalone-component.A template for the Vue cli is actually readily available to aid you build components along with livecoding, tests, records as well as demos. Develop your standalone elements using this tiny design template.Utilizing this theme you will certainly be able to:.Display the listing of your componet: src elements components.vue.Detail the component doctors.Display props, techniques &amp celebrations.Feature the component's segregated use directions.Filter components by name.and also a lot more ...Consumption.This design template is Vue 2.x only.This is a project design template for vue-cli.$ npm put in -g vue-cli.$ vue init InCuca/vue-standalone-component my-component.$ cd my-component.$ npm put in.While running the above demands you are going to obtain some causes as well as some instructions symphonious concerning exactly how to write parts.After you are actually done operate:.$ npm managed serve.You can right now look at style resource in the internet browser. checking out:.Local area: http://localhost:6062/.The generated outcome in./ dist may be utilized along with node as well as the internet browser.PS: to develop to UMD work npm function construct: umd.What's Consisted of.Linting.$ npm operated dust.Screening &amp Test Protection.$ npm run test.$ npm run exam: view.$ npm functioned exam: cov.Structure.ES6 Components/ CommonJS.$ npm operate develop.import myCmp coming from 'dist/my-cmp'.Vue.component(' my-cmp', myCmp).UMD.$ npm run develop: umd.
If you are actually intrigued for more concerning this theme or you possess any kind of suggestions or pests, click here.

Articles You Can Be Interested In