Sleep

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

.vue-standalone-component.A theme for the Vue cli is actually available to aid you create elements with livecoding, examinations, paperwork and also trials. Construct your standalone elements using this tiny design template.Utilizing this template you are going to have the ability to:.Show the directory of your componet: src elements components.vue.Specify the component doctors.Display props, strategies &amp events.Present the part's isolated use directions.Filter parts through name.as well as a lot more ...Use.This template is Vue 2.x merely.This is a job layout 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 certainly get some urges and also some instructions in steps concerning just how to compose parts.After you are carried out run:.$ npm operated provide.You can easily now check out design manual in the internet browser. visiting:.Regional: http://localhost:6062/.The generated result in./ dist can be made use of along with node and the internet browser.PS: to build to UMD function npm operate create: umd.What's Included.Linting.$ npm operated lint.Testing &amp Exam Insurance Coverage.$ npm functioned examination.$ npm functioned exam: view.$ npm operated test: cov.Property.ES6 Components/ CommonJS.$ npm operate create.import myCmp from 'dist/my-cmp'.Vue.component(' my-cmp', myCmp).UMD.$ npm run construct: umd.
If you are curious for additional concerning this layout or you have any kind of pointers or even insects, click here.

Articles You Can Be Interested In