Sleep

Vue cli template to build parts along with livecoding, exams, documentation &amp even more

.vue-standalone-component.A template for the Vue cli is actually readily available to aid you develop components with livecoding, exams, information and also trials. Build your standalone parts utilizing this tiny design template.Using this design template you will definitely be able to:.Show the directory of your componet: src parts components.vue.Provide the part doctors.Display props, techniques &amp events.Display the element's separated consumption guidelines.Filter elements by name.and also extra ...Usage.This theme is actually Vue 2.x merely.This is actually a project theme for vue-cli.$ npm mount -g vue-cli.$ vue init InCuca/vue-standalone-component my-component.$ cd my-component.$ npm mount.While operating the above orders you will certainly obtain some causes and also some guidelines symphonious concerning just how to compose components.After you are actually carried out run:.$ npm run serve.You can now check out type overview in the browser. exploring:.Regional: http://localhost:6062/.The generated output in./ dist can be used along with node and also the internet browser.PS: to develop to UMD operate npm work construct: umd.What is actually Included.Linting.$ npm functioned dust.Screening &amp Examination Insurance Coverage.$ npm run test.$ npm run examination: watch.$ npm operated test: cov.Property.ES6 Modules/ CommonJS.$ npm operate develop.import myCmp coming from 'dist/my-cmp'.Vue.component(' my-cmp', myCmp).UMD.$ npm run create: umd.
If you are actually curious for even more about this layout or even you have any suggestions or insects, click on this link.