|
|
il y a 2 ans | |
|---|---|---|
| .. | ||
| .vscode | il y a 2 ans | |
| build | il y a 2 ans | |
| public | il y a 2 ans | |
| src | il y a 2 ans | |
| .dockerignore | il y a 2 ans | |
| .editorconfig | il y a 2 ans | |
| .eslintignore | il y a 2 ans | |
| .eslintrc.js | il y a 2 ans | |
| .gitattributes | il y a 2 ans | |
| .gitignore | il y a 2 ans | |
| .prettierrc | il y a 2 ans | |
| Dockerfile | il y a 2 ans | |
| LICENSE | il y a 2 ans | |
| README.md | il y a 2 ans | |
| docker-compose.yml | il y a 2 ans | |
| index.html | il y a 2 ans | |
| nginx.conf | il y a 2 ans | |
| package-lock.json | il y a 2 ans | |
| package.json | il y a 2 ans | |
| stats.html | il y a 2 ans | |
| tsconfig.json | il y a 2 ans | |
| vite.config.ts | il y a 2 ans | |
| yarn.lock | il y a 2 ans | |
src/cool/config
将proxy中的端口改成接口服务的端口
将prod中的baseUrl改成本项目的(这个是发布在单服务器多服务情况下,区分接口服务的)
将proxy中的path.replace(/^\/prod/, "/lhyt-api"),lhyt-api改成baseUrl的名称
推荐使用 yarn:
yarn
安装过程完成后,运行以下命令启动服务。您可以在浏览器中预览网站 http://localhost:9000
yarn dev