Sleep

Vue cli design template to construct components along with livecoding, examinations, documentation &amp additional

.vue-standalone-component.A theme for the Vue cli is actually offered to aid you develop elements along with livecoding, tests, paperwork and also demonstrations. Build your standalone elements utilizing this little template.Utilizing this theme you will have the capacity to:.Present the listing of your componet: src elements components.vue.Note the component docs.Display props, approaches &amp occasions.Present the component's segregated utilization guidelines.Filter elements by title.as well as extra ...Consumption.This layout is actually Vue 2.x only.This is actually a task design template for vue-cli.$ npm put in -g vue-cli.$ vue init InCuca/vue-standalone-component my-component.$ cd my-component.$ npm set up.While running the above commands you will get some triggers and some guidelines symphonious concerning just how to write parts.After you are done run:.$ npm run offer.You can easily currently see type guide in the browser. going to:.Neighborhood: http://localhost:6062/.The created result in./ dist could be utilized with node as well as the browser.PS: to develop to UMD run npm function develop: umd.What is actually Included.Linting.$ npm run dust.Screening &amp Test Protection.$ npm functioned examination.$ npm operated examination: watch.$ npm operated test: cov.Property.ES6 Elements/ CommonJS.$ npm run develop.bring in myCmp coming from 'dist/my-cmp'.Vue.component(' my-cmp', myCmp).UMD.$ npm operate develop: umd.
If you are interested for more concerning this template or you have any type of ideas or even bugs, go here.

Articles You Can Be Interested In