-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathnuxt.config.ts
102 lines (102 loc) · 2.06 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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
modules: [
'@nuxt/ui',
'@nuxt/eslint',
'@nuxt/image',
'@nuxt/content',
'@nuxthq/studio',
'@nuxtjs/tailwindcss',
'@vueuse/motion/nuxt',
],
ssr: true,
components: [
'~/components',
{ path: '~/components/app', prefix: 'App' },
{ path: '~/components/home', prefix: 'Home' },
],
devtools: {
enabled: true,
timeline: {
enabled: true,
},
},
app: {
pageTransition: { name: 'page', mode: 'out-in' },
head: {
htmlAttrs: {
lang: 'en',
class: 'h-full',
},
bodyAttrs: {
class: 'antialiased bg-gray-50 dark:bg-black min-h-screen',
},
title: 'Pushpak Chhajed',
meta: [
{ charset: 'utf-8' },
{ name: 'viewport', content: 'width=device-width, initial-scale=1' },
{
hid: 'description',
name: 'description',
content: 'Pushpak\'s Portfolio',
},
{ name: 'msapplication-TileColor', content: '#da532c' },
{ name: 'theme-color', content: '#ffffff' },
],
link: [
{ rel: 'preconnect', href: 'https://fonts.gstatic.com' },
{ rel: 'icon', href: '/favicon.ico' },
{
rel: 'preload',
as: 'style',
href: 'https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap',
media: 'all',
},
{ rel: 'apple-touch-icon', href: '/apple-touch-icon.png' },
{
rel: 'icon',
type: 'image/png',
sizes: '16x16',
href: '/favicon-16x16.png',
},
{
rel: 'icon',
type: 'image/png',
sizes: '32x32',
href: '/favicon-32x32.png',
},
{
rel: 'icon',
type: 'image/png',
href: '/favicon-16x16.png',
},
{ rel: 'manifest', href: '/site.webmanifest' },
],
},
},
colorMode: {
preference: 'dark',
},
compatibilityDate: '2024-11-16',
nitro: {
prerender: {
routes: ['/blogs', '/projects'],
},
},
typescript: {
strict: false,
},
eslint: {
config: {
stylistic: {
indent: 'tab',
semi: true,
quotes: 'single',
},
},
},
tailwindcss: {
editorSupport: true,
viewer: false,
},
});