Optimize loading speed (#45)
This commit is contained in:
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
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user