.vue-standalone-component.A theme for the Vue cli is actually offered to aid you create elements with livecoding, tests, records and also demonstrations. Construct your standalone parts using this small design template.Using this layout you will definitely manage to:.Present the listing of your componet: src elements components.vue.Detail the element docs.Display props, methods & activities.Feature the component's segregated use instructions.Filter elements through title.as well as more ...Usage.This layout is actually Vue 2.x merely.This is a job design template for vue-cli.$ npm mount -g vue-cli.$ vue init InCuca/vue-standalone-component my-component.$ cd my-component.$ npm install.While managing the above orders you are going to get some prompts as well as some instructions symphonious concerning how to write elements.After you are carried out run:.$ npm managed offer.You can easily right now see style quick guide in the browser. going to:.Neighborhood: http://localhost:6062/.The produced outcome in./ dist could be made use of along with node and also the web browser.PS: to construct to UMD run npm work construct: umd.What is actually Consisted of.Linting.$ npm worked dust.Screening & Exam Protection.$ npm run examination.$ npm operated exam: watch.$ npm worked exam: cov.Structure.ES6 Modules/ CommonJS.$ npm operate construct.import myCmp from 'dist/my-cmp'.Vue.component(' my-cmp', myCmp).UMD.$ npm run develop: umd.
If you are intrigued for even more regarding this theme or even you have any sort of ideas or even bugs, visit here.