Sleep

Vue cli design template to construct components with livecoding, examinations, records &amp more

.vue-standalone-component.A template for the Vue cli is available to aid you create elements with livecoding, exams, documentation and demonstrations. Construct your standalone parts using this small theme.Using this theme you will have the ability to:.Present the listing of your componet: src elements components.vue.Note the element doctors.Show props, procedures &amp activities.Display the component's separated utilization instructions.Filter components by title.and also a lot more ...Use.This design template is Vue 2.x merely.This is a project template for vue-cli.$ npm put in -g vue-cli.$ vue init InCuca/vue-standalone-component my-component.$ cd my-component.$ npm put in.While managing the above orders you will definitely get some triggers as well as some instructions in steps regarding exactly how to write parts.After you are actually done run:.$ npm operated offer.You may right now see type resource in the web browser. exploring:.Local area: http://localhost:6062/.The produced result in./ dist can be made use of with nodule and the internet browser.PS: to construct to UMD work npm function build: umd.What is actually Included.Linting.$ npm functioned lint.Screening &amp Examination Coverage.$ npm operated test.$ npm run exam: view.$ npm functioned test: cov.Building.ES6 Elements/ CommonJS.$ npm operate develop.bring in myCmp coming from 'dist/my-cmp'.Vue.component(' my-cmp', myCmp).UMD.$ npm run create: umd.
If you are curious for even more about this template or you have any sort of suggestions or pests, click on this link.

Articles You Can Be Interested In