-
Notifications
You must be signed in to change notification settings - Fork 0
/
nuxt.config.ts
34 lines (34 loc) · 916 Bytes
/
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
// nuxt.config.ts
export default defineNuxtConfig({
modules: [
"@nuxtjs/tailwindcss",
"@nuxt/devtools",
"@sidebase/nuxt-auth",
"@pinia/nuxt",
],
build: {
transpile: ["vue-toastification"],
},
auth: {
origin: process.env.ORIGIN,
},
runtimeConfig: {
DATABASE_URL: process.env.DATABASE_URL,
SHADOW_DATABASE_URL: process.env.SHADOW_DATABASE_URL,
NEXTAUTH_SECRET: process.env.NEXTAUTH_SECRET,
NEXTAUTH_URL: process.env.NEXTAUTH_URL,
GITHUB_CLIENT_ID: process.env.GITHUB_CLIENT_ID,
GITHUB_CLIENT_SECRET: process.env.GITHUB_CLIENT_SECRET,
GOOGLE_CLIENT_ID: process.env.GOOGLE_CLIENT_ID,
GOOGLE_CLIENT_SECRET: process.env.GOOGLE_CLIENT_SECRET,
ORIGIN: process.env.ORIGIN,
public: {
API_KEY: process.env.API_KEY,
},
},
app: {
head: {
link: [{ rel: "icon", type: "image/x-icon", href: "/placeholder.png" }],
},
},
});