Optimize loading speed (#45)

This commit is contained in:
AceDataCloud committed 2024-05-26 04:02:03 +00:00
1 parent a18db299ee
commit a0bcce5cf1
9 files changed
+92 -33

No files matched your search

@@ -5,9 +5,14 @@
<script lang="ts">
import { defineComponent } from 'vue';
import VueMarkdown from './VueMarkdown.vue';
import { highlight } from '@/utils';
import 'highlight.js/styles/night-owl.css';
export default defineComponent({
name: 'ApiCode',
directives: {
highlight
},
components: {
VueMarkdown
},