-
Notifications
You must be signed in to change notification settings - Fork 0
/
nuxt.config.ts
67 lines (57 loc) · 1.37 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
export default defineNuxtConfig({
devtools: { enabled: true },
// Alias configurations
alias: {
assets: "/assets",
icons: '/favicon.ico'
},
// CSS configurations
css: ["~/assets/main.scss", "~/assets/Josh.scss"],
// Modules
modules: [
'@nuxt/content',
'@nuxtjs/supabase',
'@nuxtjs/google-fonts',
'nuxt-icons',
[
'nuxt-viewport', {
// Viewport options can be added here
}
],
'@nuxt/image',
'@nuxtjs/device',
],
// Google Fonts (assuming you are using @nuxtjs/google-fonts)
googleFonts: {
families: {
Roboto: [100, 300, 400, 500, 700, 900],
// Add other font families if needed
},
},
// PostCSS configurations
postcss: {
plugins: {
'postcss-nested': {}, // or 'postcss-nested': {}
tailwindcss: {},
autoprefixer: {},
},
},
// Page transition
app: {
// You can configure page transitions here
},
// Environment Variables Configuration
runtimeConfig: {
public: {
magicPublishableKey: process.env.MAGIC_PUBLISHABLE_KEY,
},
supabaseUrl: process.env.SUPABASE_URL,
supabaseKey: process.env.SUPABASE_KEY,
// Add any other environment variables you need
},
hooks: {
'ready': () => {
console.log('Magic Publishable Key:', process.env.MAGIC_PUBLISHABLE_KEY);
}},
compatibilityDate: '2024-10-10'
});