π¦ Preset for Vue application. With a ready-made architecture
For usage copy and paste it in your directory console
vue add vue-cli-plugin-kami
Application architecture
Generator has created these files:
src
βββ helper
β βββ mixins
β βββ dialog.js π Mixin for dialog components
β βββ main.js π File with all mixins!
βββ middleware
β βββ WebClient.js π Axios config
β βββ services π All app services
β βββ ExampleService.js
βββ router
β βββ index.js
β βββ initListners.js π Inject all listners in router instance
β βββ routes
β βββ listners
β βββ beforeEach.js π Hook before page started load
β βββ beforeResolve.js π Hook after all router hook has been resolved
β βββ index.js
βββ store
βββ index.js
βββ VuexModule.js π Π‘lass that describes all Vuex modules
βββ modules
βββ example.js
βββ index.js