mirror of
https://gitee.com/dapppp/ruoyi-plus-vben5.git
synced 2026-03-17 09:22:00 +08:00
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