🐳 chore: 支持mermaid

This commit is contained in:
m1m1sha
2024-05-07 22:01:36 +08:00
parent e1a0a8138e
commit 77e4f7402b
3 changed files with 866 additions and 3 deletions
+2 -2
View File
@@ -1,9 +1,9 @@
import { defineConfig } from 'vitepress'
import { withMermaid } from 'vitepress-plugin-mermaid'
import { en } from './en'
import { cn } from './cn'
export default defineConfig({
export default withMermaid({
title: 'Easytier',
base: '/easytier-doc/',
locales: {
+3 -1
View File
@@ -14,6 +14,8 @@
"@antfu/eslint-config": "^2.16.2",
"eslint": "^9.2.0",
"eslint-plugin-format": "^0.1.1",
"vitepress": "^1.1.4"
"mermaid": "^10.9.0",
"vitepress": "^1.1.4",
"vitepress-plugin-mermaid": "^2.0.16"
}
}
+861
View File
File diff suppressed because it is too large Load Diff