1 Star 0 Fork 6

yeriwei/git-notebook

forked from eric.fang/git-notebook 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
vue.config.js 1.33 KB
一键复制 编辑 原始数据 按行查看 历史
eric.fang 提交于 2021-05-27 15:58 . 修复 app c盘权限问题
const path = require('path');
function resolve(dir) {
return path.join(__dirname, dir);
}
module.exports = {
publicPath: './',
lintOnSave: false,
devServer: {
// can be overwritten by process.env.HOST
host: '0.0.0.0',
port: 20001,
},
chainWebpack: config => {
config.resolve.alias
.set('@', resolve('src'))
.set('src', resolve('src'))
.set('common', resolve('src/common'))
.set('components', resolve('src/components'));
},
pluginOptions: {
electronBuilder: {
builderOptions: {
mac: {
icon: './public/app.png'
},
productName: 'GitNotebook',
win: {
"icon": "./public/app.ico",
"requestedExecutionLevel": "highestAvailable",
"target": [
"nsis",
"zip"
]
},
nsis: {
"oneClick": false,
"allowToChangeInstallationDirectory": true,
"perMachine": true
}
}
}
},
css: {
loaderOptions: {
less: {
javascriptEnabled: true,
}
}
}
};
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/yeriwei/git-notebook.git
git@gitee.com:yeriwei/git-notebook.git
yeriwei
git-notebook
git-notebook
master

搜索帮助