Sleep

Vue cli design template to create parts along with livecoding, exams, records &amp more

.vue-standalone-component.A layout for the Vue cli is accessible to help you build elements along with livecoding, tests, paperwork as well as demonstrations. Develop your standalone parts utilizing this tiny design template.Using this template you will certainly manage to:.Feature the directory of your componet: src elements components.vue.Specify the element doctors.Present props, techniques &amp occasions.Show the component's segregated usage directions.Filter components by label.as well as a lot more ...Usage.This template is actually Vue 2.x merely.This is actually a venture layout for vue-cli.$ npm install -g vue-cli.$ vue init InCuca/vue-standalone-component my-component.$ cd my-component.$ npm install.While managing the above orders you will obtain some prompts and some instructions symphonious regarding exactly how to compose components.After you are actually done run:.$ npm operated serve.You can easily right now look at type resource in the web browser. seeing:.Regional: http://localhost:6062/.The generated output in./ dist may be used along with nodule and the browser.PS: to develop to UMD operate npm function build: umd.What is actually Included.Linting.$ npm functioned lint.Testing &amp Examination Insurance Coverage.$ npm worked test.$ npm run exam: view.$ npm functioned examination: cov.Structure.ES6 Components/ CommonJS.$ npm run build.bring in myCmp coming from 'dist/my-cmp'.Vue.component(' my-cmp', myCmp).UMD.$ npm run construct: umd.
If you are actually intrigued for additional about this theme or even you have any kind of suggestions or even bugs, click on this link.

Articles You Can Be Interested In