marking-mobile-frontend

1.0.0 • Public • Published
阅卷系统移动端.

开发

$ git clone https://git.coding.net/bainiu/marking-mobile-frontend.git
$ cd cd marking-platform-frontend/
$ npm install
$ npm run dev

git提交代码常用命令

$ git status                       //查看本地文件状态
$ git checkout 文件路径   		   //如果有需要,可以撤销修改 
$ git add -A                       //如果有新增文件,敲该命令
$ git commit -a -m "提交备注"       //本地 commit
$ git pull origin master           //提交之前先去服务端拉代码
$ git push origin master           //提交代码到主干

在浏览中打开http://localhost:3000

工具 和 使用文档

vux								   //https://vuxjs.gitbooks.io/vux/content/install/umd.html
echarts                            //http://echarts.baidu.com/
vue-resource                       //https://github.com/vuejs/vue-resource
vue-router                         //https://github.com/vuejs/vue-router
vue-upload-component               //https://github.com/lian-yue/vue-upload-component
vue-validator                      //http://vuejs.github.io/vue-validator/

目录结构

.
├── README.md           
├── dist                     // 项目build目录
├── logs                     // 生产环境日志目录
├── src                      // 生产目录
│   ├── api                  // API 请求
│   ├── assets               // css 和图片资源
│   ├── components           // 组件
│   ├── utils                // 工具函数
│   └── pages            	 // 页面位置
│   └── config.js            // api url, cookie domain等配置文件
│   └── index.html           // 主页html
│   └── routes.js            // 路由配置
│   └── index.js             // 入口文件
├── .babelrc                 // babel配置
├── .eslintrc.json           // eslint配置
├── process.json             // pm2配置文件
├── server.js                // 生产环境启动server
├── webpack.config.dev.js    // 开发环境Webpack配置文件
├── webpack.config.js        // Webpack 配置文件
├── webpack-config.prod.js   // 生产环境Webpack 配置文件
.

Readme

Keywords

Package Sidebar

Install

npm i marking-mobile-frontend

Weekly Downloads

3

Version

1.0.0

License

ISC

Last publish

Collaborators

  • zhangjianliang