Sleep

Vue cli theme to build components with livecoding, tests, records &amp additional

.vue-standalone-component.A design template for the Vue cli is available to aid you create parts with livecoding, examinations, information and also demos. Construct your standalone elements utilizing this little theme.Utilizing this layout you are going to be able to:.Present the directory site of your componet: src components components.vue.List the element docs.Feature props, techniques &amp events.Present the component's segregated consumption guidelines.Filter elements by title.and also much more ...Use.This layout is Vue 2.x only.This is actually a venture layout for vue-cli.$ npm set up -g vue-cli.$ vue init InCuca/vue-standalone-component my-component.$ cd my-component.$ npm put in.While managing the above commands you are going to get some causes as well as some instructions symphonious regarding just how to write elements.After you are actually carried out run:.$ npm managed offer.You can currently view type guide in the internet browser. seeing:.Regional: http://localhost:6062/.The generated output in./ dist can be used along with nodule as well as the internet browser.PS: to create to UMD run npm work develop: umd.What is actually Featured.Linting.$ npm operated dust.Screening &amp Test Protection.$ npm operated examination.$ npm operated examination: view.$ npm run examination: cov.Structure.ES6 Elements/ CommonJS.$ npm operate develop.import myCmp from 'dist/my-cmp'.Vue.component(' my-cmp', myCmp).UMD.$ npm operate construct: umd.
If you are fascinated for additional about this design template or even you have any type of ideas or bugs, click on this link.

Articles You Can Be Interested In