Sleep

Vue cli design template to create parts along with livecoding, tests, documentation &amp even more

.vue-standalone-component.A template for the Vue cli is on call to assist you develop parts with livecoding, examinations, documents and also demos. Create your standalone components using this very small template.Using this template you will certainly manage to:.Present the directory site of your componet: src elements components.vue.Specify the component doctors.Feature props, procedures &amp celebrations.Feature the part's separated use instructions.Filter parts by label.and much more ...Usage.This layout is Vue 2.x simply.This is actually a task theme for vue-cli.$ npm put up -g vue-cli.$ vue init InCuca/vue-standalone-component my-component.$ cd my-component.$ npm set up.While running the above orders you will certainly obtain some urges and some guidelines in steps regarding just how to write elements.After you are actually performed run:.$ npm run provide.You can easily currently check out style overview in the web browser. exploring:.Neighborhood: http://localhost:6062/.The created outcome in./ dist may be utilized with node and the web browser.PS: to build to UMD operate npm run develop: umd.What's Featured.Linting.$ npm functioned lint.Testing &amp Examination Protection.$ npm worked examination.$ npm operated test: view.$ npm functioned exam: cov.Property.ES6 Elements/ CommonJS.$ npm run create.bring in myCmp coming from 'dist/my-cmp'.Vue.component(' my-cmp', myCmp).UMD.$ npm run develop: umd.
If you are interested for even more regarding this layout or you have any kind of suggestions or even pests, go here.