.vue-standalone-component.A template for the Vue cli is offered to aid you create components with livecoding, exams, documents and also demonstrations. Create your standalone parts utilizing this very small template.Utilizing this layout you will have the capacity to:.Show the directory site of your componet: src parts components.vue.Note the component docs.Show props, approaches & activities.Display the component's segregated usage guidelines.Filter parts through name.and a lot more ...Use.This design template is Vue 2.x only.This is actually a venture template for vue-cli.$ npm set up -g vue-cli.$ vue init InCuca/vue-standalone-component my-component.$ cd my-component.$ npm install.While managing the above demands you will certainly receive some prompts and also some directions in steps concerning just how to write elements.After you are performed run:.$ npm run offer.You can easily currently look at design resource in the internet browser. checking out:.Regional: http://localhost:6062/.The produced output in./ dist may be used along with nodule and also the web browser.PS: to create to UMD operate npm operate develop: umd.What is actually Consisted of.Linting.$ npm functioned lint.Testing & Examination Coverage.$ npm worked exam.$ npm worked exam: view.$ npm functioned test: cov.Building.ES6 Components/ CommonJS.$ npm run develop.bring in myCmp coming from 'dist/my-cmp'.Vue.component(' my-cmp', myCmp).UMD.$ npm operate develop: umd.
If you are intrigued for more concerning this layout or you have any type of recommendations or even bugs, visit this site.