1 Star 0 Fork 6

程立雪/push-markdown

forked from 晓凹凸曼/push-markdown 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
vue.config.js 1.20 KB
一键复制 编辑 原始数据 按行查看 历史
晓凹凸曼 提交于 2021-09-01 22:28 . v1.1.0
/* eslint-disable */
/*
* @Author: szx
* @Date: 2021-07-04 14:14:13
* @LastEditTime: 2021-09-01 21:14:40
* @Description:
* @FilePath: \push-markdown\vue.config.js
*/
const path = require('path');
function resolve(dir) {
return path.join(__dirname, dir);
}
module.exports = {
publicPath: './',
devServer: {
host: '0.0.0.0',
port: 8080
},
chainWebpack: (config) => {
config.resolve.alias.set('@', resolve('src')).set('src', resolve('src')).set('common', resolve('src/common')).set('components', resolve('src/components'));
},
pluginOptions: {
electronBuilder: {
preload: 'src/preload.ts',
builderOptions: {
productName: 'push-markdown',
copyright: 'Copyright © year ',
nsis: {
oneClick: false,
allowToChangeInstallationDirectory: true
},
win: {
icon: './public/app.ico',
target: [
{
target: 'nsis',
arch: 'x64'
}
]
}
}
},
'style-resources-loader': {
preProcessor: 'scss',
patterns: [path.resolve(__dirname, 'common/assets/style.scss')]
// preProcessor: '',
// patterns: []
}
}
};
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
JavaScript
1
https://gitee.com/xiaoCHENG66/push-markdown.git
git@gitee.com:xiaoCHENG66/push-markdown.git
xiaoCHENG66
push-markdown
push-markdown
master

搜索帮助