mirror of
https://github.com/continew-org/continew-admin-ui.git
synced 2025-09-08 12:57:11 +08:00
feat: 新增支持 KKFileView 文件预览功能,需要自行部署文件预览服务器
This commit is contained in:
@@ -60,6 +60,8 @@ export default defineConfig(({ command, mode }) => {
|
||||
assetFileNames: 'static/[ext]/[name]-[hash].[ext]'
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
// 以 envPrefix 开头的环境变量会通过 import.meta.env 暴露在你的客户端源码中。
|
||||
envPrefix: ['VITE', 'FILE']
|
||||
}
|
||||
})
|
||||
|
Reference in New Issue
Block a user