VVT789
2025-02-17 45cc2e9af86248745eee29e4f2ed980948fc6fd0
zhitan-vue/vite.config.js
@@ -4,7 +4,9 @@
// https://vitejs.dev/config/
export default defineConfig(({ mode, command }) => {
  mode='production'
  const env = loadEnv(mode, process.cwd())
  console.log(mode,'==========env')
  const { VITE_APP_ENV } = env
  return {
    // 部署生产环境和开发环境下的URL。