-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathquasar.config.js
52 lines (51 loc) · 1.36 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
const { configure } = require("quasar/wrappers")
module.exports = configure(function (/* ctx */) {
return {
eslint: {
fix: true,
warnings: false,
errors: true,
},
boot: ["componentDefaults", "boot"],
css: ["app.sass"],
extras: ["roboto-font", "material-icons", "fontawesome-v6"],
build: {
target: {
browser: ["es2020", "edge88", "firefox78", "chrome87", "safari13.1"],
node: "node20",
},
extendViteConf(viteConf, { isClient, isServer }) {
viteConf.plugins.push(
require("vite-plugin-rewrite-all").default(), // fixes a bug with dots in the url during development
require("vite-tsconfig-paths").default() // so vite will read custom paths defined in tsconfig.json
)
},
vueRouterMode: "history",
minify: true,
},
devServer: {
open: false,
},
framework: {
config: {
ripple: false,
},
plugins: ["Notify", "Dialog", "LoadingBar"],
},
animations: [],
ssr: {
pwa: false,
prodPort: 3000,
middlewares: [
"render", // keep this as last one
],
},
pwa: {
workboxMode: "generateSW", // or 'injectManifest'
injectPwaMetaTags: true,
swFilename: "sw.js",
manifestFilename: "manifest.json",
useCredentialsForManifestTag: false,
},
}
})