vue.config.js 修改项目启动端口
vue.config.js
:
module.exports = {
devServer:{
runtimeCompiler: true, // 如果遇到 Invalid options in vue.config.js: "compiler" is not allowed 报错则写这行,否则可不写
port: 80
}
}
如果遇到报错:Invalid options in vue.config.js: "compiler" is not allowed
则增加字段: runtimeCompiler: true
A little hug, little gift.
All of little something.
these are our meories.