-
Notifications
You must be signed in to change notification settings - Fork 0
/
nuxt.config.ts
69 lines (66 loc) · 2 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
import siteMetadata from "./config/site-metadata";
// eslint-disable-next-line @typescript-eslint/no-unsafe-call
export default defineNuxtConfig({
// removed @nuxt/image-edge until this is fixed https://github.com/nuxt/image/issues/689
modules: ["nuxt-icon", "nuxt-svgo"],
ssr: true,
css: ["~/assets/css/fonts.css", "~/assets/css/main.css"],
postcss: {
plugins: {
tailwindcss: {},
autoprefixer: {},
},
},
svgo: {
defaultImport: "component",
},
app: {
head: {
htmlAttrs: {
lang: "en",
},
link: [
{
rel: "icon",
type: "image/x-icon",
href: "/favicon.ico",
},
],
title: siteMetadata.pageTitle,
meta: [
{ name: "title", content: siteMetadata.pageTitle },
{ name: "author", content: "Daniele Tortora" },
{
name: "keywords",
content:
"Daniele Tortora, Daniele, Tortora, floroz, floroz87, Technical Lead, Senior Software Engineer, Senior Frontend Engineer, UX UI, developer, software developer, web developer, javascript, react developer, vue developer",
},
{
name: "description",
content: siteMetadata.pageDescription,
},
{ name: "og:title", content: siteMetadata.pageTitle },
{
name: "og:description",
content: siteMetadata.pageDescription,
},
{
name: "og:url",
content: siteMetadata.siteUrl,
},
{
name: "og:image",
content: "https://danieletortora.netlify.app/images/twitter-card.png",
},
{ name: "twitter:creator:id", content: "floroz87" },
{ name: "twitter:description", content: siteMetadata.pageDescription },
{
name: "twitter:image",
content: "https://danieletortora.netlify.app/images/twitter-card.png",
},
{ name: "application-name", content: "@floroz/portfolio-v3" },
],
},
},
compatibilityDate: "2024-11-15",
});