https://github.com/ztrehagem/alt-vuex-playground
https://github.com/ztrehagem/alt-vuex-playground
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/ztrehagem/alt-vuex-playground
- Owner: ztrehagem
- Created: 2020-01-25T08:56:09.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-03-20T10:26:37.000Z (about 5 years ago)
- Last Synced: 2025-01-28T04:29:20.794Z (4 months ago)
- Language: TypeScript
- Size: 256 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Directories
```
src
├── index.pug
├── app.ts // instantiate Vue
├── App.vue // root view
│
├── lib // libraries to be external modules
│ ├── api-client.ts
│ └── store.ts
│
├── plugins // application specific plugins for extending libraries
│ ├── api-client.ts
│ └── axios.ts
│
├── api // api classes
│ ├── login.ts
│ ├── logout.ts
│ ├── register.ts
│ :
│
├── store
│ ├── index.ts // global store instances
│ ├── counter.ts // store module class
│ ├── session.ts // store module class
: :
```## Stores
- not dependent on Vuex
- no mutation, integrated with actions
- inspired by vuex-smart-module