-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathnuxt.config.ts
74 lines (69 loc) · 1.74 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
63
64
65
66
67
68
69
70
71
72
73
74
export default defineNuxtConfig({
modules: [
'@nuxtjs/tailwindcss', '@nuxt/icon', '@nuxt/devtools', "@nuxtjs/kinde"
],
kinde: {
// This is true by default and adds 'auth-logged-in' and 'auth-logged-out'
// middleware to your Nuxt application.
//
// middleware: false,
//
// enable the debug `/api/health` endpoint
// debug: true,
authDomain: process.env.NUXT_KINDE_AUTH_DOMAIN,
clientId: process.env.NUXT_KINDE_CLIENT_ID,
clientSecret: process.env.NUXT_KINDE_CLIENT_SECRET,
redirectURL: process.env.NUXT_KINDE_REDIRECT_URL,
logoutRedirectURL: process.env.NUXT_KINDE_LOGOUT_REDIRECT_URL,
postLoginRedirectURL: process.env.NUXT_KINDE_POST_LOGIN_REDIRECT_URL,
},
runtimeConfig: {
public: {
baseUrl: process.env.BASE_URL || 'http://localhost:3000'
},
},
pwa: {
registerType: 'autoUpdate',
manifest: {
name: 'my.awesomeBible',
short_name: 'Bibel',
theme_color: '#ffffff',
icons: [
{
src: 'pwa-192x192.png',
sizes: '192x192',
type: 'image/png',
},
{
src: 'pwa-512x512.png',
sizes: '512x512',
type: 'image/png',
},
{
src: 'pwa-512x512.png',
sizes: '512x512',
type: 'image/png',
purpose: 'any maskable',
},
],
},
workbox: {
globPatterns: ['**/*.{js,css,html,png,svg,ico}'],
},
client: {
installPrompt: true,
periodicSyncForUpdates: 3600,
},
devOptions: {
enabled: true,
suppressWarnings: true,
navigateFallbackAllowlist: [/^\/$/],
type: 'module',
},
},
devtools: {
enabled: true
},
telemetry: false,
compatibilityDate: '2024-07-13'
})