-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnuxt.config.ts
63 lines (63 loc) · 2.02 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
// https://nuxt.com/docs/api/configuration/nuxt-config
//@ts-ignore
export default defineNuxtConfig({
app: {
head: {
title: 'Blog Pirat | Blogging über wie mans nicht macht',
htmlAttrs: {
lang: 'de',
},
meta: [
{ charset: 'utf-8' },
{ name: 'viewport', content: 'width=device-width,height=device-height,initial-scale=1.0' },
{ hid: 'description', name: 'description', content: 'Blub' },
{ name: 'format-detection', content: 'telephone=no' },
],
link: [{ rel: 'icon', type: 'image/x-icon', href: '/favicon.png' }],
},
pageTransition: { name: 'page', mode: 'out-in' },
},
modules: [
'@nuxtjs/tailwindcss',
'@nuxtjs/supabase',
'@nuxt/image',
'@stefanobartoletti/nuxt-social-share',
"nuxt-shiki"
],
supabase: {
url: process.env.SUPABASE_URL,
key: process.env.SUPABASE_SERVICE_KEY,
redirectOptions: {
exclude: ['/*']
}
},
shiki: {
bundleThemes:['github-dark'],
langs: ['json', 'yaml', 'xml', 'html', 'css', 'javascript', 'typescript', 'markdown', 'csharp', 'java', 'php', 'python', 'ruby', 'shell', 'sql', 'swift', 'go', 'rust', 'kotlin', 'dart', 'scala', 'groovy', 'lua', 'perl', 'r', 'haskell', 'clojure', 'elixir', 'erlang', 'fsharp', 'ocaml', 'scheme', 'plaintext', 'dockerfile', 'shell'],
},
css: [
'@fortawesome/fontawesome-svg-core/styles.css',
'vue-multiselect/dist/vue-multiselect.css'
],
runtimeConfig: {
public: {
proxyUrl: process.env.PROXY_URL,
supabaseUrl: process.env.SUPABASE_URL,
supabaseKey: process.env.SUPABASE_SERVICE_KEY,
}
},
build: {
transpile: [
'@fortawesome/fontawesome-svg-core',
'@fortawesome/pro-solid-svg-icons',
'@fortawesome/pro-regular-svg-icons',
'@fortawesome/pro-light-svg-icons',
'@fortawesome/free-brands-svg-icons'
]
},
devtools: {
timeline: {
enabled: true
}
}
})