Skip to content

Commit f9979b9

Browse files
committed
fix: use compile time markdown
1 parent 3521f2d commit f9979b9

27 files changed

+197
-22
lines changed

packages/devtools/client/components/HelpFab.vue

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,4 @@
11
<script setup lang="ts">
2-
const props = defineProps<{
3-
path: string
4-
}>()
5-
6-
const { data } = useAsyncData(props.path, () => queryContent(props.path).findOne())
72
const open = ref(false)
83
const {
94
showHelpButtons,
@@ -36,7 +31,7 @@ const {
3631
v-if="open" border="l base"
3732
class="prose" pos="fixed bottom-0 right-0 top-0" z-200 w-150 px8 py4 bg-base
3833
>
39-
<ContentRenderer v-if="data" :value="data" />
34+
<slot />
4035
<NIconButton
4136
icon="carbon-close"
4237
pos="absolute top-3 right-3"
File renamed without changes.
File renamed without changes.

packages/devtools/client/content/imports.md renamed to packages/devtools/client/components/docs/imports.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@ Nuxt auto-imports helper functions, composables and Vue APIs to use across your
66

77
According to your config, exports of files under the following folders will be registed as auto-imports entry:
88

9-
:help-imports-dirs
9+
<HelpImportsDirs />
1010

1111
Meanwhile, modules could also provide auto-imports for their own components. You have auto-imports from the following modules as well:
1212

13-
:help-imports-modules
13+
<HelpImportsModules />
1414

1515
<hr>
1616

File renamed without changes.
File renamed without changes.
File renamed without changes.

packages/devtools/client/content/plugins.md renamed to packages/devtools/client/components/docs/plugins.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
Nuxt plugins allows you to extend the functionality of Nuxt runtime and the Vue instance. You can add plugins to the `plugins/` directory and they will be automatically imported and registered.
44

5-
::help-tip-performance
5+
<HelpTipPerformance>
66
Plugins runs before your application at runtime, the time each plugin cost will directly affect your application's initial loading time.
7-
::
7+
</HelpTipPerformance>
88

99
[Learn more on the documentation](https://nuxt.com/docs/guide/directory-structure/plugins)
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)