-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnuxt.config.ts
62 lines (54 loc) · 1.32 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({
css: ["~/assets/styles/main.css", "@formkit/themes/genesis"],
modules: [
"@nuxtjs/supabase",
"nuxt-icon",
"nuxt-delay-hydration",
"@morev/vue-transitions/nuxt",
"@nuxtjs/google-fonts",
"@vueuse/nuxt",
"@formkit/nuxt",
"@sidebase/nuxt-auth",
],
extends: ["nuxt-seo-kit"],
delayHydration: {
// enables nuxt-delay-hydration in dev mode for testing
debug: process.env.NODE_ENV === "development",
},
runtimeConfig: {
public: {
siteUrl: process.env.NUXT_PUBLIC_SITE_URL || "https://example.com",
siteName: "TeeDee",
siteDescription: "A task manager which uses cutting edge technology",
language: "en",
titleSeparator: "|",
},
},
postcss: {
plugins: {
tailwindcss: {},
autoprefixer: {},
},
},
googleFonts: {
families: {
"Nunito+Sans": true,
},
},
auth: {
enableGlobalAppMiddleware: true,
enableSessionRefreshPeriodically: 100000,
},
app: {
head: {
titleTemplate: "%pageTitle %titleSeparator %siteName",
},
// global transition
pageTransition: { name: "page", mode: "out-in" },
layoutTransition: { name: "layout", mode: "out-in" },
},
linkChecker: {
failOn404: true,
},
});