Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zhengguorong/maizuo
使用vue/vuex/redux开发的卖座网
https://github.com/zhengguorong/maizuo
reactjs vue
Last synced: 7 days ago
JSON representation
使用vue/vuex/redux开发的卖座网
- Host: GitHub
- URL: https://github.com/zhengguorong/maizuo
- Owner: zhengguorong
- Created: 2016-07-04T03:27:06.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2023-01-04T11:36:16.000Z (almost 2 years ago)
- Last Synced: 2024-10-12T04:26:18.625Z (28 days ago)
- Topics: reactjs, vue
- Language: JavaScript
- Size: 7.77 MB
- Stars: 764
- Watchers: 50
- Forks: 278
- Open Issues: 48
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-vue - maizuo - vue/vuex/redux仿卖座网 (Demo示例)
- awesome-github-vue - maizuo - vue/vuex/redux仿卖座网 (Demo示例)
- awesome-github-vue - maizuo - vue/vuex/redux仿卖座网 (Demo示例)
- awesome - maizuo - vue/vuex/redux仿卖座网 (Demo示例)
README
# 注意!!!
> 由于卖座网数据接口升级导致该项目无法正常获取数据,如果需要查看效果的,可以自行mock数据。
# 模仿卖座网
> 使用vue/vuex/redux开发的卖座网
## 为什么要做这个项目?
> 最近在做技术选型,分别是vuejs和reactjs实现相同的逻辑,方便对比其开发效率,开发体验和代码维护难度.
## 该项目涉及的技术
> vue/maizuo_v1: webpack + vue1.0 + vue-resource + vue-router
> vue/maizuo_v2: webpack + vue1.0 + vuex + vue-resource + vue-router
> vue/maizuo_v3: webpack + vue2.0 + vuex2.0 + vue-resource + vue-router2.0
> react/maizuo_v1: webpack + react15 + redux + react-router-redux + fetch Api
> react/maizuo_v2: webpack + react16.8 + reactHook + react-router + axios
## 跨域问题
> 跨域可以使用谷歌的插件解决:https://chrome.google.com/webstore/detail/allow-control-allow-origi/nlfbmbojpeacfghkpbjhddihlkkiljbi
> 或者谷歌开启允许跨域,参考 http://camnpr.com/archives/chrome-args-disable-web-security.html
## 演示效果
![](vue卖座网.gif)