-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnuxt.config.ts
123 lines (113 loc) · 3.28 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
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
import { version } from './package.json'
export default defineNuxtConfig({
future: {
compatibilityVersion: 4,
},
devtools: {
enabled: true,
},
runtimeConfig: {
githubSecret: process.env.GITHUB_TOKEN,
public: {
CLIENT_VERSION: version,
cloudinaryURL:
'https://res.cloudinary.com/c-io/image/upload/v1/dev-domain/',
},
},
// configuration incorrect see
// https://github.com/unjs/nitro/discussions/1298
// nitro: {
// storage: {
// 'db': {
// driver: 'localStorage',
// localStorage:{}
// }
// },
// },
// Modules: https://go.nuxtjs.dev/config-modules
modules: [
'@nuxtjs/tailwindcss',
'@nuxt/icon',
'@nuxt/image', // "@nuxt/ui",
'@nuxt/eslint',
'@nuxt/icon',
'@nuxtjs/seo',
],
// Tailwind config
tailwindcss: {
cssPath: '~/assets/css/main.css',
configPath: '~~/config/tailwind.config.ts',
viewer: false,
},
image: {
cloudinary: {
baseURL: 'https://res.cloudinary.com/c-io/image/upload/v1/dev-domain',
},
},
// Build Configuration nuxt seo: https://nuxtseo.com/nuxt-seo/guides/configuring-modules
site: {
url: 'https://ciaran.foo',
name: 'Ciaran Toner',
description:
'Experienced Software Engineer specializing in Site Reliability Engineering ' +
'(SRE). Expertise in designing, implementing, and maintaining scalable, highly available systems. ' +
'Skilled in cloud infrastructure, automation, performance optimization, and incident response. ' +
'Bridging the gap between development and operations to deliver reliable, efficient solutions that drive business value.',
defaultLocale: 'en',
},
ogImage: {
fonts: [
{
name: 'Lato',
weight: 400,
// path must point to a public font file
path: '/fonts/Lato-Regular.ttf',
},
],
},
app: {
head: {
templateParams: {
separator: '•',
},
titleTemplate: '%s %separator %siteName',
meta: [
{ name: 'author', content: 'Ciaran Toner' },
{
name: 'keywords',
content:
'Site Reliability Engineering, SRE, DevOps, Cloud Infrastructure, ' +
'Automation, Scalability, Performance Optimization, Incident Response, ' +
'Monitoring, Kubernetes, CI/CD, Infrastructure as Code, SLOs, SLIs, Observability, ' +
'Resilience Engineering, Chaos Engineering, Cloud Platforms, Microservices, ' +
'Distributed Systems',
},
{ name: 'msapplication-config', content: '/browserconfig.xml' },
{ name: 'msapplication-TileColor', content: '#525360' },
{ name: 'theme-color', content: '#525360' },
],
link: [
{
rel: 'apple-touch-icon',
sizes: '180x180',
href: '/apple-touch-icon.png',
},
{
rel: 'icon',
type: 'image/svg+xml',
href: '/favicon.svg',
},
{
rel: 'mask-icon',
type: 'image/svg+xml',
sizes: '32x32',
href: '/mask-icon.svg',
color: '#525360',
},
{ rel: 'manifest', href: '/site.webmanifest' },
{ rel: 'canonical', href: 'https://ciaran.foo' },
],
},
},
compatibilityDate: '2024-10-19',
})