-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnuxt.config.ts
85 lines (77 loc) · 2.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
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
// https://v3.nuxtjs.org/docs/directory-structure/nuxt.config
import { defineNuxtConfig } from 'nuxt/config'
export default defineNuxtConfig({
extends: ['@nuxt-themes/docus', 'nuxt-seo-kit'],
modules: [
'@vueuse/nuxt',
'@nuxt/image-edge',
'nuxt-windicss',
'~/app/module',
'~/modules/unplugin-icons',
'@nuxt/content',
],
build: {
transpile: ['swiper']
},
runtimeConfig: {
public: {
titleSeparator: '·',
siteUrl: 'https://keyboarddabbler.com/',
siteName: 'keyboardDabbler',
siteDescription: 'KeyboardDabbler\'s personal website - Explore the portfolio of a refrigeration engineer turned web development hobbyist. Discover completed projects, blog posts, and more about the passion behind the code. Contact for freelancing opportunities.',
language: 'en-NZ',
},
},
css: [
'@/resources/scrollbars.css',
'@/resources/main.scss',
],
devtools: true,
pinceau: {
configFileName: 'tokens.config',
studio: false,
debug: true,
followSymbolicLinks: false,
},
app: {
head: {
link: [
{ rel: 'apple-touch-icon', sizes: '180x180', href: '/apple-touch-icon.png' },
{ rel: 'icon', type: 'image/png', sizes: '32x32', href: '/favicon-32x32.png' },
{ rel: 'icon', type: 'image/png', sizes: '16x16', href: '/favicon-16x16.png' },
{ rel: 'preconnect', href: 'https://res.cloudinary.com' },
],
meta: [
{ 'http-equiv': 'accept-ch', 'content': 'DPR' },
],
},
},
// https://content.nuxtjs.org
content: {
documentDriven: true,
highlight: {
// See the available themes on https://github.com/shikijs/shiki/blob/main/docs/themes.md#all-theme
theme: 'dracula',
},
},
image: {
cloudinary: {
baseURL: 'https://res.cloudinary.com/dpub6gcei/image/upload/v1675566231/keyboardDabbler',
modifiers: {
quality: 'auto:best',
dpr: 'auto',
},
},
},
nitro: {
prerender: {
crawlLinks: true,
routes: [
'/',
'/feed.xml',
'/feed.json',
'/feed.atom',
],
},
},
})