-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathnuxt.config.ts
52 lines (49 loc) · 1.18 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
import { defineNuxtConfig } from 'nuxt/config'
export default defineNuxtConfig({
modules: ['@nuxt/ui'],
colorMode: {
classSuffix: '',
preference: 'dark',
fallback: 'light'
},
app: {
head: {
charset: 'utf-8',
viewport: 'width=device-width, initial-scale=1',
titleTemplate: '%s - MPMD',
meta: [
{ name: 'description', content: '一个简单易用的微信公众号Markdown浏览器插件' },
{ name: 'keywords', content: '微信公众号,Markdown,编辑器,浏览器插件,mpmd,公众号图床,哪里不会点哪里'}
],
link: [
{ rel: 'icon', type: 'image/svg+xml', href: '/images/logo.svg' },
]
}
},
nitro: {
compressPublicAssets: true,
// prerender: {
// crawlLinks: true,
// },
},
tailwindcss: {
config: {
darkMode: 'class',
content: [
'./components/**/*.{js,vue,ts}',
'./layouts/**/*.vue',
'./pages/**/*.vue',
'./plugins/**/*.{js,ts}',
'./nuxt.config.{js,ts}',
],
theme: {
extend: {
colors: {
primary: '#07c160'
}
}
}
}
},
compatibilityDate: '2025-01-17'
})