Sleep

Vue cli theme to develop elements with livecoding, tests, information &amp more

.vue-standalone-component.A design template for the Vue cli is offered to help you build elements along with livecoding, examinations, documents and also trials. Construct your standalone parts utilizing this little design template.Using this theme you are going to have the ability to:.Show the listing of your componet: src elements components.vue.List the element doctors.Present props, procedures &amp celebrations.Show the element's separated utilization instructions.Filter components through name.as well as extra ...Usage.This design template is Vue 2.x simply.This is a task design template for vue-cli.$ npm put up -g vue-cli.$ vue init InCuca/vue-standalone-component my-component.$ cd my-component.$ npm install.While managing the above demands you will get some causes and some directions in steps regarding how to compose components.After you are carried out run:.$ npm managed serve.You may right now check out design quick guide in the internet browser. going to:.Nearby: http://localhost:6062/.The produced outcome in./ dist may be made use of along with node and also the web browser.PS: to develop to UMD operate npm run create: umd.What is actually Consisted of.Linting.$ npm run lint.Screening &amp Test Coverage.$ npm functioned examination.$ npm operated examination: view.$ npm operated exam: cov.Structure.ES6 Modules/ CommonJS.$ npm run develop.import myCmp coming from 'dist/my-cmp'.Vue.component(' my-cmp', myCmp).UMD.$ npm operate develop: umd.
If you are interested for more about this design template or even you have any tips or pests, go here.