赞
踩
vue.config.js
将允许访问开发服务器的服务列入白名单
module.exports = {
devServer: {
allowedHosts: [".natappfree.cc"],
},
};
webpack配置文档链接
https://webpack.docschina.org/configuration/dev-server/#devserverallowedhosts
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。