Sleep

Vue cli template to construct components with livecoding, exams, documentation &amp even more

.vue-standalone-component.A theme for the Vue cli is actually readily available to aid you develop parts with livecoding, exams, records as well as demonstrations. Develop your standalone components utilizing this tiny template.Utilizing this layout you will have the capacity to:.Show the directory of your componet: src elements components.vue.Detail the element doctors.Show props, methods &amp events.Show the component's separated usage instructions.Filter parts by title.and also even more ...Consumption.This layout is Vue 2.x merely.This is a job template for vue-cli.$ npm put in -g vue-cli.$ vue init InCuca/vue-standalone-component my-component.$ cd my-component.$ npm put in.While operating the above commands you will certainly get some urges and some guidelines in steps about exactly how to write components.After you are carried out run:.$ npm run serve.You can easily now watch design resource in the browser. checking out:.Neighborhood: http://localhost:6062/.The generated outcome in./ dist can be used along with node as well as the internet browser.PS: to construct to UMD run npm work create: umd.What is actually Featured.Linting.$ npm worked lint.Testing &amp Examination Coverage.$ npm operated examination.$ npm operated exam: watch.$ npm operated test: cov.Structure.ES6 Elements/ CommonJS.$ npm operate create.bring in myCmp coming from 'dist/my-cmp'.Vue.component(' my-cmp', myCmp).UMD.$ npm operate build: umd.
If you are curious for more concerning this design template or you have any ideas or insects, click here.