修复 开发环境中使用docker的一些问题 📝 (#944)

* 修复docker 开发环境问题 📝

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: tscuite <64051240+tscuite@users.noreply.github.com>
This commit is contained in:
星冉
2022-03-10 16:54:38 +08:00
committed by GitHub
parent b147c4faaa
commit b459413c0e
4 changed files with 198 additions and 0 deletions

View File

@@ -53,6 +53,7 @@ export default ({
'process.env': {}
},
server: {
// 如果使用docker-compose开发模式设置为false
open: true,
port: process.env.VITE_CLI_PORT,
proxy: {