Sleep

Vue cli theme to construct elements along with livecoding, exams, information &amp additional

.vue-standalone-component.A design template for the Vue cli is actually offered to assist you build components with livecoding, examinations, information and also demos. Build your standalone components utilizing this little design template.Utilizing this layout you will certainly have the capacity to:.Feature the listing of your componet: src elements components.vue.Note the element doctors.Present props, strategies &amp events.Present the element's separated usage directions.Filter components by name.and also even more ...Usage.This template is Vue 2.x simply.This is actually a task layout for vue-cli.$ npm put in -g vue-cli.$ vue init InCuca/vue-standalone-component my-component.$ cd my-component.$ npm put up.While managing the above commands you will definitely obtain some triggers as well as some directions in steps about just how to create components.After you are done run:.$ npm managed serve.You can right now check out design manual in the internet browser. going to:.Nearby: http://localhost:6062/.The created outcome in./ dist could be made use of along with node as well as the web browser.PS: to develop to UMD function npm function construct: umd.What is actually Included.Linting.$ npm run lint.Screening &amp Exam Coverage.$ npm functioned examination.$ npm operated exam: check out.$ npm worked test: cov.Building.ES6 Elements/ CommonJS.$ npm operate build.import myCmp coming from 'dist/my-cmp'.Vue.component(' my-cmp', myCmp).UMD.$ npm operate construct: umd.
If you are actually fascinated for more about this design template or you have any tips or even bugs, visit here.