# myz-swagger **Repository Path**: lyn4ever/myz-swagger ## Basic Information - **Project Name**: myz-swagger - **Description**: Swagger的前端页面,vue源码 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-01-21 - **Last Updated**: 2022-05-30 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # element-starter > A starter kit for Element UI generated by vue-cli *If you are familiar with [cooking](https://github.com/elemefe/cooking), [here](https://github.com/ElementUI/element-cooking-starter) is a starter generated with it* ## Environment `Node >= 6` ## Start - Clone or download this repository - Enter your local directory, and install dependencies: ``` bash yarn ``` ## Develop ``` bash # serve with hot reload at localhost:8010 npm run dev ``` ## Build ``` bash # build for production with minification npm run build ``` ## 使用方法 * 1.在webpack.config.js中配置对应的本地代理地址 ```javascript devServer: { host: '127.0.0.1', port: 8010, proxy: { '/api': { target: 'http://127.0.0.1:4444/', changeOrigin: true, pathRewrite: { '^/api': '/' } } } } ``` * 2.在config.js中配置接口地址 /api是和上边对应的 可以不用修改,只需要修改后台访问端口就可以了