https://github.com/forthespada/vuex
https://github.com/forthespada/vuex
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/forthespada/vuex
- Owner: forthespada
- Created: 2021-08-10T01:28:44.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2021-08-18T06:06:36.000Z (about 4 years ago)
- Last Synced: 2024-12-26T07:42:04.494Z (10 months ago)
- Language: Vue
- Size: 327 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Vuex练手项目
参考黑马Vuex做的连两个练手项目(B站搜索关键字”黑马vuex“,2小时46分的那个就是)
# vuex_demo1
介绍了数据传递的几种方法以及如何通过vuex进行数据访问、异步函数的执行等
## Project setup
```
npm install
```### Compiles and hot-reloads for development
```
npm run serve
```### Compiles and minifies for production
```
npm run build
```### Lints and fixes files
```
npm run lint
```### Customize configuration
See [Configuration Reference](https://cli.vuejs.org/config/).
# vuex_demo22
这个则是比较麻烦一点的Demo,主要是通过Vuex来进行全局数据的管理。
建议先看完第一个,对vuex有个大概了解后再来看这个项目。
## Project setup
```
npm install
```### Compiles and hot-reloads for development
```
npm run serve
```### Compiles and minifies for production
```
npm run build
```### Lints and fixes files
```
npm run lint
```### Customize configuration
See [Configuration Reference](https://cli.vuejs.org/config/).