-
Notifications
You must be signed in to change notification settings - Fork 0
/
quasar.config.js
132 lines (93 loc) · 2.26 KB
/
quasar.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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
const { configure } = require('quasar/wrappers');
const { mergeConfig } = require('vite')
module.exports = configure(function (/* ctx */) {
return {
eslint: {
warnings: true,
errors: true
},
boot: [
'axios',
'errorHandling',
],
css: [
'app.scss'
],
extras: [
'fontawesome-v6',
'roboto-font', // optional, you are not bound to it
'material-icons', // optional, you are not bound to it
'material-icons-outlined', // optional, you are not bound to it
],
build: {
target: {
browser: ['es2019', 'edge88', 'firefox78', 'chrome87', 'safari13.1'],
node: 'node16'
},
extendViteConf (viteConf, { isServer, isClient }) {
// example: change the chunk size warning limit
viteConf.build = mergeConfig(viteConf.build, {
chunkSizeWarningLimit: 750
})
// equivalent of following vite.config.js/vite.config.ts:
// export default defineConfig({
// build: {
// chunkSizeWarningLimit: 750
// }
// })
},
vueRouterMode: 'hash',
},
devServer: {
open: false, // существующая настройка
server: {
watch: {
// Использование опроса, каждые 100ms проверять изменения
usePolling: true,
interval: 100,
}
}
},
framework: {
config: {},
plugins: [
'Dialog',
'Notify'
]
},
animations: [],
ssr: {
pwa: false,
prodPort: 9000,
middlewares: [
'render' // keep this a@vue/cli-plugin-unit-jest/presets/no-bas last one
]
},
pwa: {
workboxMode: 'generateSW', // or 'injectManifest'
injectPwaMetaTags: true,
swFilename: 'sw.js',
manifestFilename: 'manifest.json',
useCredentialsForManifestTag: false,
},
cordova: {
},
capacitor: {
hideSplashscreen: true
},
electron: {
inspectPort: 9000,
bundler: 'packager', // 'packager' or 'builder'
packager: {
},
builder: {
appId: 'quasar-project'
}
},
bex: {
contentScripts: [
'my-content-script'
],
}
}
});