Sleep

Vue cli layout to build elements along with livecoding, tests, records &amp even more

.vue-standalone-component.A design template for the Vue cli is accessible to aid you create components with livecoding, tests, records and also trials. Construct your standalone parts utilizing this small design template.Utilizing this theme you are going to be able to:.Feature the directory of your componet: src elements components.vue.Note the component docs.Show props, procedures &amp occasions.Show the component's separated usage directions.Filter parts through label.and also much more ...Consumption.This design template is Vue 2.x simply.This is a project design template for vue-cli.$ npm mount -g vue-cli.$ vue init InCuca/vue-standalone-component my-component.$ cd my-component.$ npm put up.While running the above orders you are going to acquire some prompts as well as some directions symphonious regarding how to write elements.After you are performed operate:.$ npm operated serve.You may now look at type guide in the internet browser. going to:.Local area: http://localhost:6062/.The created outcome in./ dist can be utilized with node as well as the browser.PS: to develop to UMD run npm work build: umd.What's Included.Linting.$ npm operated dust.Screening &amp Test Coverage.$ npm operated examination.$ npm operated exam: check out.$ npm functioned exam: cov.Property.ES6 Elements/ CommonJS.$ npm run create.bring in myCmp from 'dist/my-cmp'.Vue.component(' my-cmp', myCmp).UMD.$ npm run develop: umd.
If you are fascinated for more about this template or even you have any tips or pests, visit here.

Articles You Can Be Interested In