Sleep

Vue cli template to create parts along with livecoding, examinations, information &amp more

.vue-standalone-component.A theme for the Vue cli is actually available to assist you develop parts along with livecoding, tests, paperwork as well as demos. Develop your standalone elements utilizing this very small layout.Utilizing this design template you will definitely manage to:.Present the directory site of your componet: src parts components.vue.Note the element docs.Feature props, procedures &amp activities.Show the part's isolated usage directions.Filter parts through title.as well as much more ...Usage.This template is Vue 2.x just.This is a venture design template for vue-cli.$ npm install -g vue-cli.$ vue init InCuca/vue-standalone-component my-component.$ cd my-component.$ npm put in.While running the above orders you will certainly get some urges and also some directions symphonious regarding exactly how to create elements.After you are actually carried out run:.$ npm operated serve.You may now look at design resource in the internet browser. visiting:.Local area: http://localhost:6062/.The generated output in./ dist can be made use of with node and the browser.PS: to create to UMD operate npm function construct: umd.What's Included.Linting.$ npm run dust.Screening &amp Exam Coverage.$ npm worked examination.$ npm run exam: view.$ npm worked exam: cov.Property.ES6 Elements/ CommonJS.$ npm operate create.import myCmp from 'dist/my-cmp'.Vue.component(' my-cmp', myCmp).UMD.$ npm run build: umd.
If you are interested for more concerning this layout or you have any ideas or bugs, go here.

Articles You Can Be Interested In