vue.config.js
将允许访问开发服务器的服务列入白名单
module.exports = {
devServer: {
allowedHosts: [".natappfree.cc"],
},
};
webpack配置文档链接
https://webpack.docschina.org/configuration/dev-server/#devserverallowedhosts
欢迎分享,转载请注明来源:内存溢出
vue.config.js
将允许访问开发服务器的服务列入白名单
module.exports = {
devServer: {
allowedHosts: [".natappfree.cc"],
},
};
webpack配置文档链接
https://webpack.docschina.org/configuration/dev-server/#devserverallowedhosts
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)