Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/Vincent1993/V2EX-Vue

Vue2 Family Barrels
https://github.com/Vincent1993/V2EX-Vue

spa vue vue2

Last synced: about 2 months ago
JSON representation

Vue2 Family Barrels

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开发配置
```