20260825224435
This commit is contained in:
1 parent
a509f93f34
commit
9957757b5d
146 files changed
+148
-682
No files matched your search
@@ -12,6 +12,11 @@ export default defineConfig({
|
||||
host: true,
|
||||
port: 5082,
|
||||
strictPort: true,
|
||||
watch: {
|
||||
// 忽略工具原子写入产生的临时文件(形如 .xxx.tmpdir\xxx.tmp),
|
||||
// 避免 Windows 下 fs.watch 对瞬时存在的临时路径抛 EBUSY 导致 dev server 崩溃
|
||||
ignored: [/[\\/]\.tmpdir[\\/]/, /\.tmp$/],
|
||||
},
|
||||
// 开发环境将 /api 请求代理到后端服务(与 fms-vue-old2 保持一致)
|
||||
proxy: {
|
||||
'/api': {
|
||||
|
||||
Reference in new issue
Block a user