Sleep

Vue cli theme to build parts along with livecoding, examinations, information &amp even more

.vue-standalone-component.A theme for the Vue cli is actually readily available to help you build parts with livecoding, tests, documents and trials. Build your standalone elements using this little theme.Utilizing this theme you will manage to:.Show the directory of your componet: src parts components.vue.Detail the element docs.Show props, techniques &amp events.Feature the component's isolated consumption instructions.Filter parts by name.and also extra ...Usage.This layout is actually Vue 2.x just.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 up.While managing the above commands you are going to receive some prompts and also some guidelines in steps concerning exactly how to compose parts.After you are carried out operate:.$ npm operated offer.You can easily right now view design guide in the browser. checking out:.Nearby: http://localhost:6062/.The created outcome in./ dist could be utilized along with node and the web browser.PS: to develop to UMD operate npm operate construct: umd.What's Featured.Linting.$ npm functioned lint.Testing &amp Examination Coverage.$ npm run examination.$ npm worked exam: check out.$ npm worked exam: cov.Structure.ES6 Elements/ CommonJS.$ npm operate build.import myCmp coming from 'dist/my-cmp'.Vue.component(' my-cmp', myCmp).UMD.$ npm run build: umd.
If you are interested for more regarding this theme or you have any ideas or bugs, visit this site.

Articles You Can Be Interested In