Sleep

Vue cli design template to develop elements along with livecoding, examinations, paperwork &amp more

.vue-standalone-component.A layout for the Vue cli is on call to help you construct elements along with livecoding, tests, records and demonstrations. Create your standalone elements utilizing this very small theme.Utilizing this design template you will manage to:.Feature the directory of your componet: src elements components.vue.Note the component docs.Present props, strategies &amp events.Feature the part's segregated consumption directions.Filter parts through label.and much more ...Usage.This template is actually Vue 2.x only.This is a venture theme for vue-cli.$ npm mount -g vue-cli.$ vue init InCuca/vue-standalone-component my-component.$ cd my-component.$ npm install.While running the above orders you will definitely receive some prompts and some instructions in steps about how to compose components.After you are performed operate:.$ npm managed serve.You can right now watch type manual in the internet browser. visiting:.Nearby: http://localhost:6062/.The created outcome in./ dist may be utilized along with node as well as the web browser.PS: to develop to UMD work npm operate build: umd.What is actually Consisted of.Linting.$ npm operated lint.Testing &amp Examination Coverage.$ npm operated exam.$ npm operated examination: check out.$ npm run test: cov.Structure.ES6 Components/ CommonJS.$ npm run build.import myCmp from 'dist/my-cmp'.Vue.component(' my-cmp', myCmp).UMD.$ npm run create: umd.
If you are intrigued for additional regarding this layout or even you possess any kind of pointers or even bugs, click on this link.