.vue-standalone-component.A template for the Vue cli is available to assist you construct components with livecoding, examinations, paperwork as well as demos. Create your standalone components using this tiny theme.Using this theme you will have the ability to:.Present the directory of your componet: src parts components.vue.Note the component doctors.Display props, approaches & celebrations.Display the part's separated utilization guidelines.Filter components by title.and a lot more ...Consumption.This theme is actually Vue 2.x simply.This is actually a venture 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 managing the above commands you are going to receive some urges and some guidelines symphonious about exactly how to create elements.After you are actually done run:.$ npm managed offer.You can easily right now view style manual in the web browser. seeing:.Local: http://localhost:6062/.The created outcome in./ dist could be used along with node as well as the browser.PS: to build to UMD operate npm operate build: umd.What is actually Consisted of.Linting.$ npm run lint.Testing & Exam Coverage.$ npm run examination.$ npm functioned test: check out.$ npm operated exam: cov.Property.ES6 Components/ CommonJS.$ npm operate develop.bring in myCmp from 'dist/my-cmp'.Vue.component(' my-cmp', myCmp).UMD.$ npm operate construct: umd.
If you are intrigued for more about this template or even you have any ideas or even insects, visit this site.