docs-ko icon indicating copy to clipboard operation
docs-ko copied to clipboard

[SYNC] docs(config): clarify config esm syntax (#9157)

Open github-actions[bot] opened this issue 3 years ago • 0 comments

docs(config): clarify config esm syntax (#9157) (881050d)


--- /dev/null
+++ b/docs/.vitepress/theme/components/SvgImage.vue
@@ -0,0 +1,22 @@
+<script setup lang="ts">
+defineProps<{ svg: string }>()
+</script>
+
+<template>
+  <figure class="svg-image-root" v-html="svg" />
+</template>
+
+<style>
+.svg-image-root {
+  background-color: #eee;
+  border-radius: 8px;
+  padding: 1ch;
+  margin: 1ch 0;
+}
+html.dark .svg-image-root {
+  background-color: #313641;
+}
+.svg-image-root svg text {
+  font-family: var(--vp-font-family-base);
+}
+</style>

github-actions[bot] avatar Jul 22 '22 00:07 github-actions[bot]