-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnuxt.config.ts
51 lines (50 loc) · 1.1 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
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
app: {
pageTransition: { name: "page", mode: "out-in" },
head: {
script: [
{
src: "https://plausible.emk.dev/js/script.js",
type: "text/javascript",
defer: true,
"data-domain": "emk.dev",
},
],
},
},
modules: [
"@nuxt/devtools",
"@nuxtjs/tailwindcss",
"@nuxtjs/google-fonts",
"@nuxt/content",
"nuxt-og-image",
"nuxt-icon",
],
googleFonts: {
families: {
"Fira+Code": true,
Radix: true,
},
},
content: {
markdown: {
toc: {
depth: 3,
searchDepth: 3,
},
},
highlight: {
theme: "dracula-soft",
},
},
runtimeConfig: {
// Private keys are only available on the server
spotifyClient: process.env.SPOTIFY_CLIENT,
spotifySecret: process.env.SPOTIFY_SECRET,
spotifyRefreshToken: process.env.SPOTIFY_REFRESH,
spotifyAccessToken: process.env.SPOTIFY_ACCESS,
// Public keys that are exposed to the client
public: {},
},
});