mirror of
https://github.com/DiscordFactory/website-documentation.git
synced 2026-01-14 09:24:23 +01:00
📝 Write documentation
This commit is contained in:
20
src/templates/modules/documentation/advanced/CreateAddon.vue
Normal file
20
src/templates/modules/documentation/advanced/CreateAddon.vue
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
<template>
|
||||||
|
<Documentation>
|
||||||
|
<Markdown v-if="data" :source="data" />
|
||||||
|
<Spinner v-else />
|
||||||
|
</Documentation>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script setup lang="ts">
|
||||||
|
import Markdown from '../../../../components/Markdown.vue'
|
||||||
|
import Documentation from '../../../../components/Documentation.vue'
|
||||||
|
import Spinner from '../../../../components/Spinner.vue'
|
||||||
|
import useDocumentation from '../../../../services/Documentation'
|
||||||
|
import { markdownEndpoint } from '../../../../utils/Navigation'
|
||||||
|
import { onMounted, ref } from 'vue'
|
||||||
|
|
||||||
|
const data = ref('')
|
||||||
|
onMounted(async () => {
|
||||||
|
data.value = await useDocumentation(markdownEndpoint.DEPLOYMENT)
|
||||||
|
})
|
||||||
|
</script>
|
||||||
Reference in New Issue
Block a user