Sleep

Vue cli template to construct elements along with livecoding, tests, paperwork &amp more

.vue-standalone-component.A theme for the Vue cli is actually available to help you construct elements along with livecoding, examinations, documents and demonstrations. Develop your standalone elements using this tiny theme.Utilizing this layout you will have the capacity to:.Show the directory site of your componet: src parts components.vue.Provide the element doctors.Present props, approaches &amp celebrations.Present the component's separated consumption guidelines.Filter components by name.and a lot more ...Use.This template is Vue 2.x merely.This is a project template for vue-cli.$ npm put up -g vue-cli.$ vue init InCuca/vue-standalone-component my-component.$ cd my-component.$ npm put in.While managing the above demands you will certainly acquire some cues and some directions symphonious regarding exactly how to compose parts.After you are actually done run:.$ npm managed offer.You may now check out type quick guide in the browser. going to:.Local: http://localhost:6062/.The produced outcome in./ dist may be utilized with node and the web browser.PS: to construct to UMD work npm function create: umd.What's Consisted of.Linting.$ npm operated lint.Testing &amp Examination Protection.$ npm operated examination.$ npm worked examination: view.$ npm functioned examination: cov.Building.ES6 Components/ CommonJS.$ npm run construct.bring in myCmp from 'dist/my-cmp'.Vue.component(' my-cmp', myCmp).UMD.$ npm operate build: umd.
If you are curious for more about this template or you have any ideas or bugs, visit this site.