Sleep

Vue cli design template to create components along with livecoding, tests, documentation &amp additional

.vue-standalone-component.A template for the Vue cli is on call to aid you develop components with livecoding, tests, records as well as demonstrations. Construct your standalone elements using this very small theme.Utilizing this template you will certainly manage to:.Show the listing of your componet: src components components.vue.Note the element doctors.Show props, procedures &amp celebrations.Feature the component's segregated utilization directions.Filter elements by label.as well as extra ...Utilization.This design template is actually Vue 2.x simply.This is a venture theme for vue-cli.$ npm install -g vue-cli.$ vue init InCuca/vue-standalone-component my-component.$ cd my-component.$ npm mount.While running the above commands you will acquire some motivates and some directions in steps regarding how to write components.After you are done operate:.$ npm operated serve.You can easily currently check out design guide in the internet browser. seeing:.Local: http://localhost:6062/.The produced output in./ dist could be made use of along with node as well as the web browser.PS: to construct to UMD run npm operate develop: umd.What is actually Consisted of.Linting.$ npm operated lint.Testing &amp Examination Insurance Coverage.$ npm run test.$ npm run test: check out.$ npm worked test: cov.Building.ES6 Elements/ CommonJS.$ npm run construct.bring in myCmp coming from 'dist/my-cmp'.Vue.component(' my-cmp', myCmp).UMD.$ npm run build: umd.
If you are actually fascinated for even more concerning this theme or even you have any type of ideas or even bugs, visit here.

Articles You Can Be Interested In