# 票务 **Repository Path**: parsecc/ticket_service ## Basic Information - **Project Name**: 票务 - **Description**: 印象西湖 票务平台 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2018-09-07 - **Last Updated**: 2021-06-20 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # ticket_service 技术栈: webpack+ babel + eslint + es6 + vue2 + axios + less+ better scroll js MVVM框架-vue2,地址: https://cn.vuejs.org/v2/api/ * http 请求-axios [中文地址](https://segmentfault.com/a/1190000008470355?utm_source=tuicool&utm_medium=referral) [github地址](https://github.com/mzabriskie/axios) * 编码规范-eslint: 详看根目录下.eslintrc.js [elint官网地址](http://eslint.cn) #基础准备: #了解mockjs,能拦截ajax请求,返回模拟的响应数据,实现前后端分离; #(详细学习网址:https://blog.csdn.net/zhanglir333/article/details/78721585 或官网) #(详细学习网址:https://www.jianshu.com/p/df464b26ae58 或官网) # 在本地安装mockjs npm install mockjs --save-dev #本地安装axios npm install axios --save-dev #本地安装less npm install less less-loader --save-dev #本地安装vue-touch npm install less vue-touch --save-dev #移动端适配采用lib-flexible npm install lib-flexible --save-dev #自动将px转换rem npm install px2rem-loader --save-dev #使用饿了么Mint UI组件库 #学习链接 http://mint-ui.github.io/docs/#/zh-cn2 #本地安装 Mint UI组件库 npm install mint-ui --save-dev ## 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 ``` For a detailed explanation on how things work, check out the [guide](http://vuejs-templates.github.io/webpack/) and [docs for vue-loader](http://vuejs.github.io/vue-loader).