diff --git a/docs/.vitepress/theme/components/Mermaid.vue b/docs/.vitepress/theme/components/Mermaid.vue
index 407a3a30..393f2ea6 100644
--- a/docs/.vitepress/theme/components/Mermaid.vue
+++ b/docs/.vitepress/theme/components/Mermaid.vue
@@ -1,18 +1,18 @@
-
+
-
-
-
\ No newline at end of file
+ import('mermaid/dist/mermaid').then(m => {
+ m.initialize({
+ startOnLoad: true,
+ })
+ m.init()
+ })
+ },
+}
+