Sleep

Vue cli layout to create elements with livecoding, examinations, documents &amp even more

.vue-standalone-component.A layout for the Vue cli is available to assist you create elements with livecoding, examinations, documents and trials. Build your standalone components utilizing this little design template.Using this template you are going to be able to:.Display the directory of your componet: src components components.vue.List the part doctors.Present props, techniques &amp occasions.Feature the element's isolated utilization guidelines.Filter parts through title.as well as more ...Usage.This layout is actually Vue 2.x just.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 install.While managing the above commands you will receive some urges and some instructions in steps concerning just how to compose parts.After you are actually performed operate:.$ npm run offer.You can now look at type resource in the web browser. checking out:.Local area: http://localhost:6062/.The produced result in./ dist can be utilized along with node and also the web browser.PS: to develop to UMD run npm function construct: umd.What's Consisted of.Linting.$ npm run lint.Testing &amp Examination Insurance Coverage.$ npm functioned test.$ npm operated test: check out.$ npm functioned test: cov.Building.ES6 Modules/ CommonJS.$ npm run build.bring in myCmp from 'dist/my-cmp'.Vue.component(' my-cmp', myCmp).UMD.$ npm run construct: umd.
If you are actually interested for additional regarding this theme or you have any suggestions or pests, visit this site.