# 六医卫--患者端 **Repository Path**: lesonchan/lyw ## Basic Information - **Project Name**: 六医卫--患者端 - **Description**: 一个针对患者入口的公众号,可以通过公众号直接与相关医生实现医患信息传递 - **Primary Language**: JavaScript - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 1 - **Created**: 2018-08-09 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # healths > A Vue.js project ## Build Setup ``` bash # install vue-cli vue-cli: vue init webpack # 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 ``` # 使用 JSON Server 搭建 Mock 服务器 >全局安装 $ npm install -g json-server >项目目录下创建 mock 文件夹 >mock 文件夹下添加 db.json 文件,内容如 {"test":[{"id": 1, "content": "con1"}]} >package.json添加命令如下: "mock": "json-server --watch mock/db.json", "mockdev": "npm run mock & npm run dev" # 启动 mock 服务器 $ npm run mock 命令 运行 mock server 访问 http://localhost:3000/ # 安装vue-YDUI npm install vue-ydui For detailed explanation on how things work, checkout the [guide](http://vuejs-templates.github.io/webpack/) and [docs for vue-loader](http://vuejs.github.io/vue-loader).