Sleep

Vue cli layout to create parts along with livecoding, exams, information &amp additional

.vue-standalone-component.A theme for the Vue cli is actually offered to assist you build parts with livecoding, examinations, documentation as well as demonstrations. Create your standalone components using this very small template.Utilizing this theme you will definitely be able to:.Present the directory site of your componet: src components components.vue.Detail the component docs.Feature props, techniques &amp events.Show the component's separated consumption guidelines.Filter parts by name.and even more ...Usage.This design template is Vue 2.x just.This is a task layout for vue-cli.$ npm set up -g vue-cli.$ vue init InCuca/vue-standalone-component my-component.$ cd my-component.$ npm mount.While managing the above orders you will receive some prompts and some guidelines symphonious regarding exactly how to create parts.After you are actually carried out operate:.$ npm operated serve.You can easily right now look at type quick guide in the web browser. exploring:.Neighborhood: http://localhost:6062/.The generated outcome in./ dist may be made use of with nodule and the web browser.PS: to build to UMD operate npm operate build: umd.What's Consisted of.Linting.$ npm operated dust.Screening &amp Examination Protection.$ npm run exam.$ npm operated test: watch.$ npm functioned test: cov.Structure.ES6 Elements/ CommonJS.$ npm run develop.import myCmp coming from 'dist/my-cmp'.Vue.component(' my-cmp', myCmp).UMD.$ npm operate create: umd.
If you are actually curious for additional concerning this theme or you possess any recommendations or bugs, click here.