-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathnuxt.config.ts
51 lines (50 loc) · 1.09 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
const {
AUTH0_BASE_URL,
AUTH0_ISSUER_BASE_URL,
AUTH0_CLIENT_ID,
AUTH0_CLIENT_SECRET,
AUTH0_AUDIENCE,
AUTH0_COOKIE_NAME
} = process.env
export default defineNuxtConfig({
app: {
head: {
charset: 'utf-8',
viewport: 'width=device-width, initial-scale=1',
meta: [
{ name: 'viewport', content: 'width=device-width, initial-scale=1' },
{
hid: 'description',
name: 'description',
content: 'Nuxt3 + Auth0'
}
],
link: [{ rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' }]
}
},
typescript: {
shim: false
},
runtimeConfig: {
AUTH0_BASE_URL: AUTH0_BASE_URL || process.env.URL,
AUTH0_ISSUER_BASE_URL,
AUTH0_CLIENT_ID,
AUTH0_CLIENT_SECRET,
AUTH0_AUDIENCE,
AUTH0_COOKIE_NAME,
public: {
AUTH0_COOKIE_NAME
}
},
build: {
transpile: ['primevue']
},
// css
css: [
'primevue/resources/themes/lara-light-teal/theme.css',
'primevue/resources/primevue.css',
'primeicons/primeicons.css',
'primeflex/primeflex.css',
'assets/css/main.css'
]
})