-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnuxt.config.ts
More file actions
96 lines (84 loc) · 1.73 KB
/
nuxt.config.ts
File metadata and controls
96 lines (84 loc) · 1.73 KB
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
import tailwindcss from '@tailwindcss/vite'
export default defineNuxtConfig({
compatibilityDate: '2025-07-15',
devtools: { enabled: true },
ssr: true,
runtimeConfig: {
public: {
emailjsServiceId: process.env.NUXT_PUBLIC_EMAILJS_SERVICE_ID || '',
emailjsTemplateId: process.env.NUXT_PUBLIC_EMAILJS_TEMPLATE_ID || '',
emailjsPublicKey: process.env.NUXT_PUBLIC_EMAILJS_PUBLIC_KEY || '',
},
},
app: {
baseURL: '/',
},
nitro: {
preset: 'github-pages',
prerender: {
routes: ['/', '/sobre', '/projetos', '/contato', '/blog'],
crawlLinks: true,
},
},
css: ['~/assets/css/tailwind.css'],
vite: {
plugins: [
tailwindcss(),
],
},
modules: [
'@nuxt/content',
'@nuxt/eslint',
'@nuxt/fonts',
'@nuxt/hints',
'@nuxt/icon',
'@nuxt/image',
'shadcn-nuxt',
'@vueuse/nuxt',
'@nuxtjs/seo',
'nuxt-gtag',
],
content: {
build: {
markdown: {
highlight: {
theme: 'github-light',
},
},
},
},
gtag: {
id: process.env.NUXT_PUBLIC_GTAG_ID || '',
config: {
anonymize_ip: true,
},
},
site: {
url: 'https://patrickluz.dev',
name: 'Patrick Luz',
description: 'Parceiro técnico para seu negócio. Assumo projetos do zero ou reforço sua equipe existente.',
defaultLocale: 'pt-BR',
},
seo: {
meta: {
twitterCard: 'summary_large_image',
},
},
ogImage: {
defaults: {
component: 'OgImageTemplate',
},
},
sitemap: {
exclude: ['/admin/**'],
},
shadcn: {
prefix: '',
componentDir: '@/components/ui'
},
icon: {
serverBundle: {
collections: ['lucide', 'vscode-icons', 'skill-icons', 'simple-icons']
}
}
})