-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnuxt.config.ts
43 lines (42 loc) · 1.17 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
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
modules: ['@nuxtjs/tailwindcss', '@nuxtjs/color-mode', 'nuxt-swiper', '@nuxt/image', '@nuxtjs/robots', 'nuxt-simple-sitemap', 'nuxt-gtag', 'nuxt-clarity-analytics'],
app: {
head: {
link: [
{ rel: 'stylesheet', href: 'https://rsms.me/inter/inter.css' },
{ rel: 'stylesheet', href: 'https://fonts.googleapis.com/css?family=League Spartan' }
],
meta: [
{ name: 'theme-color', content: '#ffffff', media: '(prefers-color-scheme: light)' },
{ name: 'theme-color', content: '#1e293b', media: '(prefers-color-scheme: dark)' },
],
script: [
],
},
pageTransition: { name: 'page', mode: 'out-in' },
baseURL: '/2023-newnew'
},
colorMode: {
fallback: 'dark',
classSuffix: ''
},
image: {
inject: true,
format: ['webp']
},
css: ['~/assets/css/main.css'],
devtools: {
enabled: true,
timeline: {
enabled: true
}
},
gtag: {
id: 'G-T8KMF4KWHB'
},
plugins: [{ src: '~/plugins/vercel.ts', mode: 'client' }],
site: {
url: 'https://old.buildingblocs.sg/2023-newnew',
},
})