2 Star 2 Fork 1

eaglet / vue4_d3v5_forcedirected

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
vue.config.js 749 Bytes
一键复制 编辑 原始数据 按行查看 历史
eaglet 提交于 2022-09-15 05:27 . vue配置文件
module.exports = {
// 公共路径(必须有的)
publicPath: "./",
// 输出文件目录
outputDir: "dist",
// 静态资源存放的文件夹(相对于ouputDir)
assetsDir: "assets",
// eslint-loader 是否在保存的时候检查(果断不用,这玩意儿我都没装)
lintOnSave: false,
// 我用的only,打包后小些
runtimeCompiler: false,
productionSourceMap: true, // 不需要生产环境的设置false可以减小dist文件大小,加速构建
devServer: {
open: true, // npm run serve后自动打开页面
host: '0.0.0.0', // 匹配本机IP地址(默认是0.0.0.0)
port: 8089, // 开发服务器运行端口号
proxy: null,
},
}
NodeJS
1
https://gitee.com/e4glet/vue4_d3v5_forcedirected.git
git@gitee.com:e4glet/vue4_d3v5_forcedirected.git
e4glet
vue4_d3v5_forcedirected
vue4_d3v5_forcedirected
master

搜索帮助