.vue-standalone-component.A template for the Vue cli is readily available to assist you construct elements along with livecoding, examinations, documents as well as trials. Build your standalone components utilizing this little layout.Using this layout you are going to manage to:.Feature the directory site of your componet: src parts components.vue.Provide the component doctors.Display props, strategies & activities.Display the component's segregated usage directions.Filter parts by label.and also more ...Use.This theme is Vue 2.x merely.This is actually a venture layout for vue-cli.$ npm set up -g vue-cli.$ vue init InCuca/vue-standalone-component my-component.$ cd my-component.$ npm install.While operating the above orders you will certainly obtain some triggers and some guidelines in steps about exactly how to create elements.After you are performed run:.$ npm run serve.You can easily right now see type guide in the internet browser. visiting:.Nearby: http://localhost:6062/.The created result in./ dist can be used along with node and the browser.PS: to create to UMD operate npm function develop: umd.What's Included.Linting.$ npm worked lint.Testing & Exam Insurance Coverage.$ npm functioned test.$ npm run examination: view.$ npm worked test: cov.Building.ES6 Elements/ CommonJS.$ npm operate create.import myCmp from 'dist/my-cmp'.Vue.component(' my-cmp', myCmp).UMD.$ npm operate develop: umd.
If you are interested for even more concerning this template or even you have any pointers or bugs, visit this site.