module.exports = {
publicPath: './', //公共路径,影响打包生成文件的引入资源的公共路径
devServer: {
//本地服务器配置
port: 8980, //端口
host: 'localhost', //域名
https: false, //是否启用https
open: true
vue.config.js常用配置
最新推荐文章于 2024-06-26 15:48:28 发布