Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Vincent1993/V2EX-Vue
Vue2 Family Barrels
https://github.com/Vincent1993/V2EX-Vue
spa vue vue2
Last synced: 2 months ago
JSON representation
Vue2 Family Barrels
- Host: GitHub
- URL: https://github.com/Vincent1993/V2EX-Vue
- Owner: Vincent1993
- Archived: true
- Created: 2016-01-05T04:09:49.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-02-06T18:06:50.000Z (almost 8 years ago)
- Last Synced: 2024-08-28T21:16:14.672Z (5 months ago)
- Topics: spa, vue, vue2
- Language: JavaScript
- Homepage: http://www.cusmos.me/v2ex
- Size: 3.38 MB
- Stars: 154
- Watchers: 9
- Forks: 38
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# V2EX-mobile
## 用到的东西
- Vue2
- Vuex2
- Vue-Router2## 如何开发
```
git clone https://github.com/Vincent1993/V2EX-mobile.git ***your project***npm i
npm start
[https://localhost:3555](本地调试)
```
> 这边建议装一下[跨域调试工具](https://chrome.google.com/webstore/detail/allow-control-allow-origi/nlfbmbojpeacfghkpbjhddihlkkiljbi?utm_source=chrome-ntp-icon)## 目录结构
```
src/
assets/ ---> 静态资源文件
components/ ---> 组件文件
config/ ---> 项目配置文件
filters/ ---> 过滤器
router/ ---> vue-router配置文件
store/
actions/ ---> vuex actions
getters/ ---> vuex getters
modules/ ---> vuex modules
index.js ---> vuex store
plugins.js ---> vuex plugins
utils/ ---> 共用函数
vendor/ ---> ThirdParty lib
views/ ---> 展示视图库
main.js ---> 入口文件
.babelrc ---> babel 配置文件
.eslintrc ---> eslint 配置文件
.gitignore ---> gitignore
index.html ---> index
package.json ---> package
README.md ---> 本文件
webpack.config.common.js ---> webpack通用配置
webpack.config.dev.js ---> webpack开发配置
```