-
Notifications
You must be signed in to change notification settings - Fork 0
/
nuxt.config.ts
58 lines (58 loc) · 1.75 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
import { defineNuxtConfig } from 'nuxt/config'
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
ssr: false,
modules: [
'@nuxtjs/supabase',
'@pinia/nuxt',
'@nuxtjs/tailwindcss',
'nuxt-icon',
'@vueuse/nuxt',
],
css: ['~/assets/css/main.css'],
app: {
head: {
title: 'qua',
link: [
{
rel: 'preconnect',
href: 'https://fonts.gstatic.com',
},
{
rel: 'preconnect',
href: 'https://fonts.googleapis.com',
},
{
rel: 'stylesheet',
type: 'text/css',
id: 'currentTheme',
href: '/css/themes/camping.css',
},
{
rel: 'stylesheet',
href: 'https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@100..900&family=Poppins:ital,wght@0,500;0,600;0,700;1,500;1,600;1,700&family=Roboto+Mono:ital,wght@0,100..700;1,100..700&display=swap',
},
{
rel: 'icon',
type: 'image/svg+xml',
id: 'favicon',
href: '/favicon.svg',
},
],
},
},
runtimeConfig: {
public: {
baseUrl: import.meta.env.BASE_URL || 'http://127.0.0.1:3000',
localDev:
(import.meta.env.LOCAL_DEV === 'true' ? true : false) || false,
},
},
supabase: {
redirectOptions: {
login: '/',
exclude: ['/about'],
callback: '/confirm',
},
},
})