.vue-standalone-component.A design template for the Vue cli is actually available to assist you develop elements with livecoding, exams, information and also demos. Build your standalone elements utilizing this small design template.Using this design template you will definitely be able to:.Show the directory site of your componet: src elements components.vue.Specify the component doctors.Display props, procedures & activities.Display the component's segregated use directions.Filter elements through label.and more ...Utilization.This layout is actually Vue 2.x merely.This is a venture theme for vue-cli.$ npm put up -g vue-cli.$ vue init InCuca/vue-standalone-component my-component.$ cd my-component.$ npm install.While operating the above commands you are going to obtain some causes as well as some guidelines symphonious concerning just how to create components.After you are done operate:.$ npm run serve.You can currently watch type quick guide in the web browser. seeing:.Local: http://localhost:6062/.The created output in./ dist could be utilized along with nodule as well as the internet browser.PS: to create to UMD run npm run build: umd.What is actually Consisted of.Linting.$ npm worked lint.Screening & Examination Protection.$ npm run exam.$ npm run examination: check out.$ npm operated test: cov.Structure.ES6 Elements/ CommonJS.$ npm operate create.bring in myCmp from 'dist/my-cmp'.Vue.component(' my-cmp', myCmp).UMD.$ npm operate create: umd.
If you are actually interested for more concerning this theme or even you have any suggestions or even insects, visit here.