代码拉取完成,页面将自动刷新
const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({
configureWebpack: {
resolve: {
fallback: {
path: require.resolve("path-browserify"),
crypto: require.resolve("crypto-browserify"),
stream: require.resolve("stream-browserify"),
"http": false,
"https": false,
"constants": false,
"os": false,
"child_process": false,
"nock":false,
"tls":false,
"zlib":false,
"dns":false
},
},
},
chainWebpack: config => {
config
.plugin('html')
.tap(args => {
args[0].title= '继续学习'
return args
})
},
transpileDependencies: true,
pluginOptions: { // 第三方插件配置
electronBuilder: {
customFileProtocol: "./",
nodeIntegration:true,
builderOptions: {
"buildDependenciesFromSource": true,
"nodeGypRebuild": false,
"npmRebuild": false,
"productName": "继续学习",
"appId": "krokodil.run",
"directories": {
"output": "build"
},
"extraResources": ["src/db/qdjxjy.db"],
"dmg": {
"contents": [
{
"x": 410,
"y": 150,
"type": "link",
"path": "/Applications"
},
{
"x": 130,
"y": 150,
"type": "file"
}
]
},
"mac": {
"icon": "public/icons/icon.icns"
},
"win": {
"icon": "public/icons/icon.ico",
"target": [
"portable"
]
},
"linux": {
"icon": "build/icons"
}
}
}
}
})
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。