摘要: vue-cli3以后的版本,一些服务器配置都迁移到CLI Service里面,对于一些基础配置和一些扩展配置,需要在根目录新建一个vue.config.js文件进行配置。 module.exports={ publicPath:'/',//1、配置项目路径【这个在开发中要经常改动】 outputDi 阅读全文
posted @ 2021-09-30 13:43 Strugglinggirl 阅读(298) 评论(0) 推荐(0) 编辑
摘要: 解决方案: 1、点击开始按钮》找到Windows PowerShell 》管理员身份运行Windows PowerShell 2、在Windows PowerShell窗口 输入 》 set-ExecutionPolicy RemoteSigned (运行)》根据提示输入 y 3、继续回到项目执行s 阅读全文
posted @ 2021-09-30 08:36 Strugglinggirl 阅读(569) 评论(0) 推荐(0) 编辑