Sleep

Vue cli layout to create elements along with livecoding, examinations, paperwork &amp even more

.vue-standalone-component.A theme for the Vue cli is offered to assist you build elements with livecoding, exams, documentation and demonstrations. Construct your standalone elements utilizing this little template.Using this template you will be able to:.Show the directory site of your componet: src components components.vue.List the part doctors.Feature props, procedures &amp celebrations.Show the part's separated use guidelines.Filter components by name.and even more ...Usage.This layout is actually Vue 2.x simply.This is a venture template for vue-cli.$ npm put up -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 causes and also some guidelines symphonious concerning just how to compose components.After you are actually performed operate:.$ npm operated serve.You may now check out design guide in the web browser. seeing:.Local: http://localhost:6062/.The created result in./ dist can be utilized along with node as well as the web browser.PS: to build to UMD work npm run develop: umd.What's Consisted of.Linting.$ npm run lint.Screening &amp Examination Coverage.$ npm operated examination.$ npm operated test: view.$ npm run exam: cov.Property.ES6 Elements/ CommonJS.$ npm run develop.import myCmp coming from 'dist/my-cmp'.Vue.component(' my-cmp', myCmp).UMD.$ npm operate create: umd.
If you are actually fascinated for even more about this theme or even you possess any suggestions or even insects, visit here.