Sleep

Vue cli layout to construct elements with livecoding, tests, documentation &amp more

.vue-standalone-component.A layout for the Vue cli is available to aid you develop elements along with livecoding, tests, documents as well as demos. Construct your standalone components utilizing this very small theme.Using this design template you will manage to:.Present the directory of your componet: src components components.vue.List the part docs.Show props, approaches &amp activities.Present the component's separated consumption guidelines.Filter elements by label.and also extra ...Utilization.This theme is Vue 2.x only.This is a project template for vue-cli.$ npm set up -g vue-cli.$ vue init InCuca/vue-standalone-component my-component.$ cd my-component.$ npm install.While operating the above orders you are going to acquire some cues and some directions in steps regarding just how to compose parts.After you are actually carried out run:.$ npm operated provide.You can right now see style quick guide in the browser. going to:.Neighborhood: http://localhost:6062/.The generated result in./ dist can be made use of along with nodule as well as the internet browser.PS: to build to UMD work npm function construct: umd.What's Consisted of.Linting.$ npm operated dust.Screening &amp Examination Protection.$ npm functioned examination.$ npm worked examination: view.$ npm operated test: cov.Property.ES6 Modules/ CommonJS.$ npm operate create.bring in myCmp from 'dist/my-cmp'.Vue.component(' my-cmp', myCmp).UMD.$ npm run create: umd.
If you are interested for more regarding this design template or even you possess any sort of ideas or even bugs, visit this site.

Articles You Can Be Interested In