Sleep

Vue cli theme to create components along with livecoding, examinations, documentation &amp additional

.vue-standalone-component.A design template for the Vue cli is offered to aid you build components along with livecoding, exams, documentation and also demonstrations. Create your standalone elements using this tiny template.Using this layout you will definitely manage to:.Present the directory of your componet: src components components.vue.Note the component doctors.Feature props, methods &amp activities.Feature the element's isolated usage guidelines.Filter parts through label.and even more ...Usage.This design template is actually Vue 2.x merely.This is a task design template for vue-cli.$ npm set up -g vue-cli.$ vue init InCuca/vue-standalone-component my-component.$ cd my-component.$ npm put in.While running the above orders you will certainly obtain some urges and some guidelines in steps concerning just how to write components.After you are done operate:.$ npm managed provide.You can currently see design overview in the web browser. exploring:.Nearby: http://localhost:6062/.The generated result in./ dist may be used with node as well as the browser.PS: to build to UMD work npm function build: umd.What's Included.Linting.$ npm worked dust.Testing &amp Examination Protection.$ npm worked examination.$ npm functioned exam: check out.$ npm worked test: cov.Structure.ES6 Components/ CommonJS.$ npm operate create.bring in myCmp coming from 'dist/my-cmp'.Vue.component(' my-cmp', myCmp).UMD.$ npm run develop: umd.
If you are fascinated for even more regarding this template or you possess any kind of pointers or pests, click on this link.