1.新建vue.config.js文件(和package.json同一目录)
2.复制以下代码:
module.exports = { devServer:{ port:3333, // 启动端口 open:true // 启动后是否自动打开网页 } }
luguankun 2019-10-18 05:35 原文
1.新建vue.config.js文件(和package.json同一目录)
2.复制以下代码:
module.exports = { devServer:{ port:3333, // 启动端口 open:true // 启动后是否自动打开网页 } }