https://github.com/dk-kami/vue-cli-plugin-kami
π¦ Preset for Vue application
https://github.com/dk-kami/vue-cli-plugin-kami
application-architecture architecture axios vue-application vue-cli-plugin vue-router vuejs vuex
Last synced: 4 months ago
JSON representation
π¦ Preset for Vue application
- Host: GitHub
- URL: https://github.com/dk-kami/vue-cli-plugin-kami
- Owner: DK-Kami
- License: mit
- Created: 2020-03-11T08:34:38.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2021-12-15T13:35:18.000Z (over 4 years ago)
- Last Synced: 2024-04-13T21:56:03.169Z (about 2 years ago)
- Topics: application-architecture, architecture, axios, vue-application, vue-cli-plugin, vue-router, vuejs, vuex
- Language: JavaScript
- Homepage:
- Size: 76.2 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## About
π¦ Preset for Vue application. With a **ready-made architecture**
[NPM plugin](https://www.npmjs.com/package/vue-cli-plugin-kami)
## Install
For usage copy and paste it in your directory console
`vue add vue-cli-plugin-kami`
## Architecture
Application architecture

### Directory Structure
Generator has created these files:
```js
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
```