-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnuxt.config.ts
61 lines (61 loc) · 1.6 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
// https://nuxt.com/docs/api/configuration/nuxt-config
// https://content.nuxtjs.org/api/configuration
// @ts-nocheck
export default defineNuxtConfig({
// @ts-ignore
postcss: {
plugins: {
tailwindcss: {},
autoprefixer: {},
},
},
modules: [
'dayjs-nuxt',
'@nuxt/content'
],
components: {
global: true,
dirs: ['~/components/ProseComponents'],
},
content: {
highlight: {
theme: 'github-dark',
preload:['php', 'css', 'html', 'ts', 'tsx', 'json', 'javascript', 'go', 'sh', 'shell', 'bash', 'yaml', 'toml', 'vue', 'vue-html', 'latex']
},
markdown: {
tags:{
h1: 'ProseH1',
h2: 'ProseH2',
h3: 'ProseH3',
h4: 'ProseH4',
h5: 'ProseH5',
h6: 'ProseH6',
a: 'ProseA',
li: 'ProseLi',
img: 'ProseImg',
blockquote: 'ProseBlockQuote',
pre: 'ProsePre',
p: 'ProseP',
}
}
},
plugins:[
'~/plugins/scrollreveal.client.ts',
],
app: {
head: {
title: 'Mikan',
link: [
{ rel: 'preconnect', href: 'https://fonts.googleapis.com'},
{ rel: 'preconnect', href: 'https://fonts.gstatic.com', crossorigin: true},
{ rel: 'stylesheet', href: 'https://fonts.googleapis.com/css2?family=IBM+Plex+Mono&family=Jost&family=Noto+Sans+SC&family=Noto+Serif+SC&family=Playfair+Display&family=Poppins&display=swap" rel="stylesheet'},
],
},
},
css:[
{src:'~/assets/css/main.css'},
{src: 'bootstrap-icons/font/bootstrap-icons.css'},
{src: 'bootstrap-icons/bootstrap-icons.svg'}
],
devtools: { enabled: true },
})