From aece3f37080e3a2e042ee29249c17adf90f4d549 Mon Sep 17 00:00:00 2001 From: Simon Asika Date: Tue, 4 Jun 2024 17:09:38 +0800 Subject: [PATCH] promise docs wip --- .vitepress/theme/CustomLayout.vue | 6 +- documentation/components/di/attributes.md | 8 +++ documentation/components/di/basic-usage.md | 15 +++++ documentation/components/promise/index.md | 67 ++++++++++++++++++++-- 4 files changed, 89 insertions(+), 7 deletions(-) diff --git a/.vitepress/theme/CustomLayout.vue b/.vitepress/theme/CustomLayout.vue index f94ca392..bfc37614 100644 --- a/.vitepress/theme/CustomLayout.vue +++ b/.vitepress/theme/CustomLayout.vue @@ -4,6 +4,7 @@ import DefaultTheme from 'vitepress/theme'; import { computed } from 'vue'; import { flatComponents } from '../data/components'; import { componentRoutePrefix } from '../store/routing-store'; +import icon from '../../public/images/logo-icon.png'; // import { register } from 'swiper/element/bundle'; // register(); @@ -44,7 +45,10 @@ const isComponent = computed(() => !!page.value.frontmatter.component);