From 6abda600614765a72be0c34f6b27c22c1be23505 Mon Sep 17 00:00:00 2001 From: andatoshiki Date: Wed, 24 May 2023 13:37:13 +0800 Subject: [PATCH] chore: lint source code via prettier --- docs/.vitepress/theme/components/Mermaid.vue | 28 ++++++++++---------- 1 file changed, 14 insertions(+), 14 deletions(-) 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() + }) + }, +} +