-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnuxt.config.ts
50 lines (42 loc) · 1.02 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
// https://nuxt.com/docs/api/configuration/nuxt-config
import { fileURLToPath } from "url";
import { dirname, join } from "path";
const currentDir = dirname(fileURLToPath(import.meta.url));
export default defineNuxtConfig({
devtools: { enabled: true },
ssr: true,
future: {
compatibilityVersion: 4
},
css: [join(currentDir, "./app/assets/css/main.css")],
modules: [
"@nuxt/ui",
"@nuxt/content",
"@pinia/nuxt",
"@nuxtjs/i18n",
"@vueuse/nuxt",
],
ui: {
icons: ["mdi"],
},
alias: {
BCGovFonts: join(currentDir, "./public/fonts/BCSans"),
BCGovLogoSmEn: join(
currentDir,
"./public/BCGovLogo/gov_bc_logo_vert_en.png"
),
BCGovLogoSmFr: join(
currentDir,
"./public/BCGovLogo/gov_bc_logo_vert_fr.png"
),
BCGovLogoLgEn: join(
currentDir,
"./public/BCGovLogo/gov_bc_logo_horiz_en.png"
),
BCGovLogoLgFr: join(
currentDir,
"./public/BCGovLogo/gov_bc_logo_horiz_fr.png"
),
},
compatibilityDate: "2024-07-09",
});