-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnuxt.config.ts
More file actions
94 lines (94 loc) · 2.26 KB
/
nuxt.config.ts
File metadata and controls
94 lines (94 loc) · 2.26 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
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
compatibilityDate: '2025-07-15',
devtools: { enabled: true },
modules: ['@nuxt/eslint', '@nuxt/image', '@nuxtjs/sanity'],
runtimeConfig: {
public: {
statsfmUserId: process.env.STATSFM_USER_ID,
statsfmRange: 'weeks',
siteName: 'Eric Wu - Computer Scientist & Philosopher',
},
},
sanity: {
projectId: process.env.SANITY_PROJECT_ID,
dataset: process.env.SANITY_DATASET,
apiVersion: '2025-10-01',
visualEditing: {
token: process.env.SANITY_API_READ_TOKEN,
studioUrl: process.env.SANITY_STUDIO_URL,
stega: false, // optional
},
},
app: {
head: {
title: 'Eric Wu · Computer Scientist & Philosopher',
link: [
{
rel: 'preconnect',
href: 'https://fonts.googleapis.com',
},
{
rel: 'preconnect',
href: 'https://fonts.gstatic.com',
crossorigin: '',
},
{
rel: 'stylesheet',
href: 'https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;700&family=Space+Mono:wght@400&family=Merriweather:wght@400&display=swap',
},
// favicon served from /public/favicon.svg
{
rel: 'icon',
type: 'image/svg+xml',
href: '/favicon.svg',
},
],
meta: [
{
name: 'application-name',
content: process.env.SITE_NAME || 'Eric Wu',
},
{
name: 'description',
content:
"Eric Wu's personal website. Computer scientist, philosopher, designer, and tea enthusiast.",
},
{
property: 'og:title',
content: 'Eric Wu · Computer Scientist & Philosopher',
},
{
property: 'og:description',
content:
"Eric Wu's personal website. Computer scientist, philosopher, designer, and tea enthusiast.",
},
{
property: 'og:url',
content: 'https://ericwu.cv',
},
{
property: 'og:type',
content: 'website',
},
{
property: 'og:site_name',
content: 'Eric Wu',
},
{
name: 'twitter:card',
content: 'summary',
},
{
name: 'twitter:title',
content: 'Eric Wu · Computer Scientist & Philosopher',
},
{
name: 'twitter:description',
content:
"Eric Wu's personal website. Computer scientist, philosopher, designer, and tea enthusiast.",
},
],
},
},
});