Sleep

Vue cli layout to build components along with livecoding, exams, documentation &amp even more

.vue-standalone-component.A layout for the Vue cli is actually available to help you create parts along with livecoding, tests, documents as well as demos. Build your standalone elements using this small template.Utilizing this theme you will definitely have the ability to:.Display the listing of your componet: src elements components.vue.Note the component docs.Feature props, approaches &amp occasions.Display the part's separated use instructions.Filter parts through title.and even more ...Utilization.This layout is Vue 2.x merely.This is a task theme 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 demands you are going to receive some causes as well as some instructions symphonious concerning exactly how to compose elements.After you are actually done run:.$ npm managed offer.You can easily currently look at style overview in the internet browser. checking out:.Regional: http://localhost:6062/.The produced output in./ dist could be utilized along with node and the web browser.PS: to create to UMD run npm operate create: umd.What is actually Included.Linting.$ npm worked dust.Screening &amp Exam Coverage.$ npm run test.$ npm worked examination: check out.$ npm worked exam: cov.Structure.ES6 Modules/ CommonJS.$ npm run build.bring in myCmp coming from 'dist/my-cmp'.Vue.component(' my-cmp', myCmp).UMD.$ npm run develop: umd.
If you are interested for more concerning this layout or even you have any kind of ideas or even pests, go here.