generated from Meeovi/Meeovi-Starter-Template
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnuxt.config.ts
More file actions
91 lines (84 loc) · 2.48 KB
/
nuxt.config.ts
File metadata and controls
91 lines (84 loc) · 2.48 KB
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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
import {
resolve
} from 'path'
export default defineNuxtConfig({
alias: {
'#departments': resolve(__dirname, '../departments-app'),
'#lists': resolve(__dirname, '../lists-app'),
'#commerce': resolve(__dirname, '../commerce-app'),
},
compatibilityDate: '2025-07-15',
devtools: {
enabled: false
},
app: {
head: {
viewport: 'minimum-scale=1, initial-scale=1, width=device-width',
templateParams: {
separator: '·',
},
htmlAttrs: {
lang: 'en',
},
meta: [{
name: 'description',
content: 'Starter template for the M Framework'
}, ],
link: [{
rel: 'icon',
href: '/favicon.ico'
},
{
rel: 'apple-touch-icon',
href: '/icons/apple-touch-icon-180x180.png'
},
],
script: [{
//src: 'https://static.elfsight.com/platform/platform.js'
},
{
src: `${process.env.COMMENTICS_URL}/comments/embed.js`,
defer: true
}
]
},
},
/* css: [
'assets/web/assets/mobirise-icons2/mobirise2.css',
'assets/bootstrap/css/bootstrap.min.css',
'assets/bootstrap/css/bootstrap-grid.min.css',
'assets/bootstrap/css/bootstrap-reboot.min.css',
'assets/theme/css/style.css',
'assets/mobirise/css/mbr-additional.css',
'@fortawesome/fontawesome-svg-core/styles.css',
'assets/styles/mobile.css',
'assets/styles/styles.css',
],*/
modules: [],
runtimeConfig: {
public: {
// Directus
directus: {
url: process.env.DIRECTUS_URL,
nuxtBaseUrl: process.env.NUXT_PUBLIC_SITE_URL || 'http://localhost:3011',
auth: {
email: process.env.NUXTUS_DIRECTUS_ADMIN_EMAIL,
password: process.env.NUXTUS_DIRECTUS_ADMIN_PASSWORD,
token: process.env.NUXTUS_DIRECTUS_STATIC_TOKEN,
enabled: true,
enableGlobalAuthMiddleware: false, // Enable auth middleware on every page
userFields: ['*'], // Select user fields
redirect: {
login: '/auth/login', // Path to redirect when login is required
logout: '/', // Path to redirect after logout
home: '/', // Path to redirect after successful login
resetPassword: '/auth/reset-password', // Path to redirect for password reset
callback: '/auth/callback', // Path to redirect after login with provider
},
}
},
},
},
// Build configuration
build: {},
})