Sleep

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

.vue-standalone-component.A theme for the Vue cli is actually accessible to assist you construct elements with livecoding, examinations, paperwork as well as demonstrations. Build your standalone elements utilizing this little theme.Utilizing this theme you will definitely be able to:.Display the directory of your componet: src elements components.vue.Detail the component docs.Present props, approaches &amp events.Present the element's isolated usage directions.Filter elements by name.as well as a lot more ...Usage.This design template is actually Vue 2.x merely.This is a task design template for vue-cli.$ npm install -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 acquire some motivates and some guidelines in steps about exactly how to write components.After you are actually performed operate:.$ npm operated provide.You may right now watch type overview in the internet browser. going to:.Local area: http://localhost:6062/.The generated outcome in./ dist can be made use of with nodule as well as the internet browser.PS: to create to UMD run npm operate create: umd.What is actually Consisted of.Linting.$ npm worked lint.Testing &amp Exam Protection.$ npm run test.$ npm run examination: check out.$ npm run test: cov.Structure.ES6 Modules/ CommonJS.$ npm operate build.bring in myCmp from 'dist/my-cmp'.Vue.component(' my-cmp', myCmp).UMD.$ npm operate construct: umd.
If you are actually curious for more concerning this layout or even you have any sort of ideas or bugs, click on this link.