-
Notifications
You must be signed in to change notification settings - Fork 0
/
vue.config.js
41 lines (40 loc) · 984 Bytes
/
vue.config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
const AutoImport = require('unplugin-auto-import/webpack');
const Components = require('unplugin-vue-components/webpack');
const { ElementPlusResolver } = require('unplugin-vue-components/resolvers');
module.exports = {
configureWebpack: {
plugins: [
AutoImport({
resolvers: [ElementPlusResolver()],
}),
Components({
resolvers: [ElementPlusResolver()],
}),
],
devServer: {
port: 8099
}
},
pluginOptions: {
electronBuilder: {
nodeIntegration: true,
builderOptions: {
appId: 'com.shiniest.fundeye',
productName: 'Fund Eye',
copyright: 'Copyright © 2023 你不熟悉的x先生',
win: {
target: {
target: 'nsis',
arch: ['x64'],
},
},
nsis: {
oneClick: false,
language: 2052,
perMachine: true,
allowToChangeInstallationDirectory: true,
},
},
},
},
};