-
Notifications
You must be signed in to change notification settings - Fork 0
/
nuxt.config.ts
62 lines (62 loc) · 1.11 KB
/
nuxt.config.ts
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
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
components: [
{
path: "~/components",
pathPrefix: false
}
],
content: {
highlight: {
preload: ["erb", "ruby", "scss"],
theme: "dark-plus"
}
},
devtools: {
enabled: true,
vscode: {
reuseExistingServer: true
}
},
experimental: {
typedPages: true
},
image: {
format: ["webp"],
quality: 80
},
modules: [
"nuxt-icon",
"@nuxt/content",
"@nuxt/devtools",
"@nuxt/image"
],
runtimeConfig: {
public: {
apiUrl: "https://the-hub.fly.dev",
password: process.env.NUXT_PASSWORD
}
},
typescript: {
shim: false,
strict: true,
tsConfig: {
compilerOptions: {
allowImportingTsExtensions: true,
moduleDetection: "force"
}
}
},
vite: {
css: {
preprocessorOptions: {
scss: {
additionalData: `
@use "~/assets/stylesheets/config/variables" as *;
@use "~/assets/stylesheets/config/mixins" as *;
`
}
}
}
}
})