Sleep

Vue cli design template to build elements along with livecoding, tests, paperwork &amp additional

.vue-standalone-component.A design template for the Vue cli is actually offered to help you construct components with livecoding, tests, paperwork as well as trials. Build your standalone parts utilizing this little template.Using this template you will certainly have the ability to:.Show the directory site of your componet: src components components.vue.List the element doctors.Present props, methods &amp occasions.Show the component's isolated consumption instructions.Filter parts through name.as well as even more ...Usage.This theme is Vue 2.x merely.This is actually a project layout for vue-cli.$ npm put in -g vue-cli.$ vue init InCuca/vue-standalone-component my-component.$ cd my-component.$ npm put up.While operating the above demands you will get some cues as well as some instructions symphonious regarding just how to write parts.After you are carried out run:.$ npm operated serve.You can right now see design resource in the web browser. checking out:.Local area: http://localhost:6062/.The created outcome in./ dist could be utilized with nodule as well as the internet browser.PS: to develop to UMD operate npm work build: umd.What is actually Consisted of.Linting.$ npm functioned dust.Testing &amp Test Coverage.$ npm run exam.$ npm operated examination: view.$ npm functioned examination: cov.Property.ES6 Components/ CommonJS.$ npm run develop.bring in myCmp coming from 'dist/my-cmp'.Vue.component(' my-cmp', myCmp).UMD.$ npm run create: umd.
If you are interested for even more concerning this template or even you have any kind of pointers or insects, click on this link.

Articles You Can Be Interested In