文章目录 一:项目新建配置文件 二:测试 三:配置启动脚本 四:替换URL 一:项目新建配置文件 # 在vue项目模块中,新建两个文件 .env.prod (生产环境配置) .env.dev (开发环境配置)