Sleep

Vue cli theme to develop parts along with livecoding, examinations, paperwork &amp even more

.vue-standalone-component.A layout for the Vue cli is actually readily available to help you construct components along with livecoding, examinations, documentation and also demos. Construct your standalone components utilizing this little layout.Utilizing this template you will have the ability to:.Show the directory of your componet: src elements components.vue.Specify the element doctors.Feature props, methods &amp activities.Feature the component's segregated consumption instructions.Filter components by name.and a lot more ...Usage.This theme is actually Vue 2.x merely.This is a project template for vue-cli.$ npm put up -g vue-cli.$ vue init InCuca/vue-standalone-component my-component.$ cd my-component.$ npm put up.While managing the above orders you will definitely obtain some prompts and also some guidelines in steps about exactly how to compose elements.After you are actually done operate:.$ npm managed serve.You can currently check out design manual in the browser. checking out:.Regional: http://localhost:6062/.The created outcome in./ dist can be used along with node and the web browser.PS: to construct to UMD function npm function create: umd.What is actually Consisted of.Linting.$ npm functioned lint.Testing &amp Exam Protection.$ npm operated exam.$ npm functioned test: watch.$ npm worked test: cov.Property.ES6 Modules/ CommonJS.$ npm run build.bring in myCmp coming from 'dist/my-cmp'.Vue.component(' my-cmp', myCmp).UMD.$ npm operate create: umd.
If you are actually interested for even more about this template or even you have any sort of pointers or even insects, go here.