Sleep

Vue cli template to create elements with livecoding, tests, paperwork &amp even more

.vue-standalone-component.A theme for the Vue cli is available to help you construct elements along with livecoding, tests, documents and trials. Construct your standalone parts using this very small design template.Utilizing this template you will certainly have the capacity to:.Display the listing of your componet: src parts components.vue.Detail the element doctors.Show props, procedures &amp events.Present the part's isolated utilization directions.Filter components through title.and also a lot more ...Consumption.This design template is actually Vue 2.x simply.This is actually a job template for vue-cli.$ npm set up -g vue-cli.$ vue init InCuca/vue-standalone-component my-component.$ cd my-component.$ npm put in.While running the above commands you will definitely acquire some motivates and some instructions in steps about how to write elements.After you are actually performed operate:.$ npm operated serve.You can easily right now look at style resource in the browser. checking out:.Neighborhood: http://localhost:6062/.The generated output in./ dist may be used along with node and the browser.PS: to develop to UMD operate npm work construct: umd.What is actually Included.Linting.$ npm run lint.Testing &amp Test Protection.$ npm operated examination.$ npm worked examination: view.$ npm functioned examination: cov.Structure.ES6 Modules/ CommonJS.$ npm run develop.import myCmp coming from 'dist/my-cmp'.Vue.component(' my-cmp', myCmp).UMD.$ npm operate create: umd.
If you are actually fascinated for additional concerning this design template or even you possess any suggestions or even pests, visit this site.

Articles You Can Be Interested In