.vue-standalone-component.A theme for the Vue cli is on call to help you build parts along with livecoding, tests, records as well as demonstrations. Construct your standalone parts utilizing this little layout.Utilizing this layout you are going to have the capacity to:.Show the listing of your componet: src components components.vue.Note the element docs.Present props, strategies & events.Present the element's isolated use directions.Filter parts through name.and also even more ...Utilization.This theme is actually Vue 2.x simply.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 put in.While running the above commands you are going to get some prompts and some directions symphonious concerning how to write elements.After you are performed operate:.$ npm run provide.You can now look at type resource in the web browser. seeing:.Nearby: http://localhost:6062/.The created output in./ dist can be made use of along with node as well as the web browser.PS: to construct to UMD operate npm work develop: umd.What's Consisted of.Linting.$ npm functioned dust.Screening & Examination Protection.$ npm operated exam.$ npm operated exam: view.$ npm run test: cov.Building.ES6 Components/ CommonJS.$ npm run construct.import myCmp coming from 'dist/my-cmp'.Vue.component(' my-cmp', myCmp).UMD.$ npm operate build: umd.
If you are actually fascinated for more regarding this layout or even you have any kind of recommendations or even bugs, click on this link.