-
Notifications
You must be signed in to change notification settings - Fork 3
/
nuxt.config.ts
41 lines (41 loc) · 1.16 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
export default defineNuxtConfig({
devtools: { enabled: false },
modules: [
'@nuxtjs/tailwindcss',
'nuxt-icon',
'@nuxt/content',
'@nuxtjs/apollo',
'nuxt-simple-robots',
'@nuxtjs/color-mode'
],
runtimeConfig: {
public: {
baseURL: process.env.NUXT_APP_BASE_URL ? process.env.NUXT_APP_BASE_URL : process.env.PORT ? 'http://127.0.0.1:' + process.env.PORT : ''
},
githubToken: process.env.GH_TOKEN
},
content: {
highlight: {
theme: 'nord',
preload: ['html', 'css', 'js', 'ts', 'json', 'bash', 'vue', 'java']
}
},
apollo: {
clients: {
default: {
tokenName: 'github-token',
httpEndpoint: 'https://api.github.com/graphql'
}
},
},
app: {
head: {
title: 'Brandon Winger-Air | Dev Blog & Portfolio',
meta: [
{ name: 'description', content: 'Website & Web Application development/design blog + portfolio with tools, guides, tutorial and course resources for developers' },
{ name: 'apple-mobile-web-app-status-bar-style', content: 'black-translucent' }
],
}
},
site: { indexable: process.env.SEO_ENV == 'production' ? true : false }
})