feat: markdown组件(开发中)
This commit is contained in:
15
apps/web-antd/src/views/演示使用自行删除/changelog/index.vue
Normal file
15
apps/web-antd/src/views/演示使用自行删除/changelog/index.vue
Normal file
@@ -0,0 +1,15 @@
|
||||
<script setup lang="ts">
|
||||
import { ref } from 'vue';
|
||||
|
||||
import { MarkdownEditor, Page } from '@vben/common-ui';
|
||||
|
||||
import changelog from '../../../../../../CHANGELOG.md?raw';
|
||||
|
||||
const content = ref(changelog);
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<Page :auto-content-height="true">
|
||||
<MarkdownEditor id="changelog" v-model:value="content" height="100%" />
|
||||
</Page>
|
||||
</template>
|
Reference in New Issue
Block a user