Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/weipxiu/vue-vuex
有关vuex的最佳实践,包括基本vuex用法、异步action,以及更高级的辅助函数mapState、mapGetters、mapActions,modules模块分割,命名空间,全局和局部的state数据修改进行函数封装,你想到的没想到的,我都尝试过。
https://github.com/weipxiu/vue-vuex
Last synced: 8 days ago
JSON representation
有关vuex的最佳实践,包括基本vuex用法、异步action,以及更高级的辅助函数mapState、mapGetters、mapActions,modules模块分割,命名空间,全局和局部的state数据修改进行函数封装,你想到的没想到的,我都尝试过。
- Host: GitHub
- URL: https://github.com/weipxiu/vue-vuex
- Owner: weipxiu
- Created: 2018-04-30T10:19:09.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-03-01T22:32:15.000Z (almost 2 years ago)
- Last Synced: 2024-10-30T11:12:08.719Z (about 2 months ago)
- Language: Vue
- Homepage:
- Size: 1.84 MB
- Stars: 78
- Watchers: 2
- Forks: 13
- Open Issues: 27
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# vuex-examplate
> 有关vuex的最佳实践,包括基本vuex用法、异步action,以及更高级的辅助函数mapState、mapGetters、mapActions,modules模块分割,命名空间,全局和局部的state数据修改进行函数封装,你想到的没想到的,我都尝试过。
## Build Setup
``` bash
# install dependencies
npm install# serve with hot reload at localhost:8080
npm run dev# build for production with minification
npm run build# build for production and view the bundle analyzer report
npm run build --report
```