Sleep

Vue cli theme to create components along with livecoding, exams, documentation &amp even more

.vue-standalone-component.A theme for the Vue cli is actually available to help you create components with livecoding, exams, documentation as well as demos. Construct your standalone components using this small template.Utilizing this theme you will definitely be able to:.Feature the directory site of your componet: src parts components.vue.Detail the element docs.Display props, strategies &amp occasions.Feature the component's isolated usage guidelines.Filter parts by name.as well as a lot more ...Use.This theme is actually Vue 2.x only.This is a project theme for vue-cli.$ npm put in -g vue-cli.$ vue init InCuca/vue-standalone-component my-component.$ cd my-component.$ npm set up.While managing the above orders you are going to get some prompts and also some instructions in steps concerning how to compose components.After you are actually carried out run:.$ npm run serve.You may now look at style manual in the internet browser. visiting:.Local area: http://localhost:6062/.The created output in./ dist may be made use of with node and also the browser.PS: to construct to UMD work npm operate construct: umd.What is actually Featured.Linting.$ npm run lint.Screening &amp Test Insurance Coverage.$ npm run exam.$ npm operated examination: watch.$ npm functioned test: cov.Property.ES6 Modules/ CommonJS.$ npm run create.bring in myCmp coming from 'dist/my-cmp'.Vue.component(' my-cmp', myCmp).UMD.$ npm operate create: umd.
If you are actually interested for more concerning this template or you have any sort of pointers or insects, click here.

Articles You Can Be Interested In