Sleep

Vue cli template to create elements along with livecoding, examinations, paperwork &amp additional

.vue-standalone-component.A layout for the Vue cli is on call to assist you build components along with livecoding, tests, information and also demos. Build your standalone elements utilizing this little template.Using this template you are going to have the capacity to:.Present the listing of your componet: src elements components.vue.List the component docs.Display props, techniques &amp activities.Show the component's isolated utilization guidelines.Filter components by label.and much more ...Consumption.This layout is Vue 2.x only.This is actually a task layout for vue-cli.$ npm install -g vue-cli.$ vue init InCuca/vue-standalone-component my-component.$ cd my-component.$ npm put up.While running the above orders you are going to acquire some motivates and some guidelines symphonious concerning exactly how to write components.After you are actually done run:.$ npm run offer.You may now view style overview in the web browser. exploring:.Neighborhood: http://localhost:6062/.The created result in./ dist could be used with node and also the browser.PS: to build to UMD work npm function build: umd.What's Consisted of.Linting.$ npm operated dust.Testing &amp Test Protection.$ npm functioned exam.$ npm functioned test: check out.$ npm functioned test: cov.Structure.ES6 Modules/ CommonJS.$ npm operate build.bring in myCmp coming from 'dist/my-cmp'.Vue.component(' my-cmp', myCmp).UMD.$ npm operate create: umd.
If you are fascinated for more about this template or you have any sort of recommendations or bugs, visit this site.

Articles You Can Be Interested In