-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnuxt.config.ts
55 lines (46 loc) · 896 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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
import process from 'node:process';
const env = process.env.NODE_ENV === 'production'
? process.env.ENV ?? 'preview'
: 'development';
const commit = import.meta.dev
? 'DEV'
: process.env.COMMIT?.slice(0, 7);
export default defineNuxtConfig({
compatibilityDate: '2025-04-19',
future: {
compatibilityVersion: 4,
},
modules: [
'@nuxtjs/supabase',
'@nuxt/ui-pro',
'@vueuse/nuxt',
],
ssr: false,
app: {
head: {
title: 'NextStep',
htmlAttrs: {
lang: 'en',
},
script: [{
id: 'next-step',
type: 'application/json',
innerHTML: JSON.stringify({
buildTime: Date.now(),
commit,
env,
}),
}],
},
},
css: ['~/assets/main.css'],
fonts: {
provider: 'bunny',
providers: {
google: false,
},
},
devServer: {
port: 8108,
},
});