-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathnuxt.config.ts
49 lines (43 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
// https://nuxt.com/docs/api/configuration/nuxt-config
// import type { NuxtPage } from "@nuxt/schema";
export default defineNuxtConfig({
modules: [
"@nuxtjs/tailwindcss",
"@nuxtjs/eslint-module",
"@pinia/nuxt",
"shadcn-nuxt",
],
shadcn: {
prefix: "",
componentDir: "./abp/ui",
},
app: {
head: {
htmlAttrs: {
lang: "en",
},
},
},
devServer: {
https: {
key: "cert.key",
cert: "ca.pem",
},
},
runtimeConfig: {
openiddict: {
issuer: process.env.NUXT_AUTHORITY_URL,
clientId: process.env.NUXT_CLIENT_ID,
clientSecret: process.env.NUXT_CLIENT_SECRET,
scope: process.env.NUXT_SCOPE,
redirectUrl: process.env.NUXT_REDIRECT_URI,
postLogoutRedirectUrl: process.env.NUXT_POST_LOGOUT_REDIRECT_URI,
},
sessionSecret: process.env.NUXT_SESSION_SECRET,
abpApiEndpoint: process.env.NUXT_ABP_API_ENDPOINT,
public: {
baseUrl: process.env.NUXT_ORIGIN,
},
},
compatibilityDate: "2025-01-03",
});