Sleep

Vue cli template to develop elements along with livecoding, exams, records &amp additional

.vue-standalone-component.A template for the Vue cli is readily available to assist you build components along with livecoding, tests, information and also demos. Create your standalone parts utilizing this very small design template.Using this template you will certainly have the ability to:.Display the listing of your componet: src components components.vue.Specify the component docs.Show props, methods &amp occasions.Display the element's segregated use guidelines.Filter components through label.as well as extra ...Usage.This template is actually Vue 2.x only.This is a task design template for vue-cli.$ npm mount -g vue-cli.$ vue init InCuca/vue-standalone-component my-component.$ cd my-component.$ npm set up.While managing the above demands you will definitely obtain some prompts and some directions symphonious regarding how to write elements.After you are done run:.$ npm operated provide.You can now check out design manual in the web browser. checking out:.Regional: http://localhost:6062/.The generated output in./ dist can be utilized along with node as well as the internet browser.PS: to create to UMD function npm operate build: umd.What's Included.Linting.$ npm functioned lint.Screening &amp Exam Insurance Coverage.$ npm run exam.$ npm operated exam: watch.$ npm worked exam: cov.Building.ES6 Elements/ CommonJS.$ npm operate construct.bring in myCmp from 'dist/my-cmp'.Vue.component(' my-cmp', myCmp).UMD.$ npm operate create: umd.
If you are actually fascinated for more about this design template or you have any kind of recommendations or even pests, click here.