# wz-master **Repository Path**: dolphin0618/wz-master ## Basic Information - **Project Name**: wz-master - **Description**: No description available - **Primary Language**: JavaScript - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2018-05-28 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ## 玩赚 > 玩广告也可以赚钱 ## 项目运行&编辑环境 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 # run unit tests npm run unit # run e2e tests npm run e2e # run all tests npm test ``` ## 本地开发注意事项 * 注意修改build目录下`dev-server.js` 文件, uri修改为本地ip ``` ## 打包注意事项 * 注意修改根目录下 `index.html` 文件 ``` ``` ## 项目布局 ``` |-- build // webpack配置文件 |-- config // webpack 的配置文件 |-- dist // 上线项目文件,放在服务器即可正常访问 |-- src // 源码目录 | |-- assets // 静态文件| | |-- components // 组件 | |-- common // 公共组件 | |-- dialog // 弹框组件 | |-- config // 基本配置 | |-- env.js // 环境切换配置 | |-- fetch.js // 获取数据 | |-- mixin.js // loadmore | |-- utils.js // 常用的js方法 | |-- pages // 页面组件 | | |-- router // 路由配置 | | |-- service // 数据交互统一调配 | |-- getData.js // 获取数据的统一调配文件,对接口进行统一管理 | | |-- store // vuex的状态管理 | |-- modules // store模块 | |-- action // 配置actions | |-- getters // 配置getters | |-- index.js // 引用vuex,创建store | |-- mutations // 配置mutations | |-- mutation-types.js // 定义常量muations名 | | |-- static // 静态文件 | |-- App.vue // 页面入口文件 | | |-- main.js // 程序入口文件,加载各种公共组件 | |-- .babelrc // ES6语法编译配置 |-- .editorconfig // 代码编写规格 |-- .gitignore // 忽略的文件 |-- favicon.ico // 页面左上角小图标 |-- index.html // 入口html文件 |-- package.json // 项目及工具的依赖配置文件 |-- README.md // 说明 ```