mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-11 03:53:09 +02:00
27 lines
409 B
Vue
27 lines
409 B
Vue
|
<template>
|
||
|
<x-code :code="code" :lang="lang" :inline="inline"/>
|
||
|
</template>
|
||
|
|
||
|
<script lang="ts">
|
||
|
import Vue from 'vue';
|
||
|
export default Vue.extend({
|
||
|
components: {
|
||
|
XCode: () => import('./code-core.vue').then(m => m.default)
|
||
|
},
|
||
|
props: {
|
||
|
code: {
|
||
|
type: String,
|
||
|
required: true
|
||
|
},
|
||
|
lang: {
|
||
|
type: String,
|
||
|
required: false
|
||
|
},
|
||
|
inline: {
|
||
|
type: Boolean,
|
||
|
required: false
|
||
|
}
|
||
|
}
|
||
|
});
|
||
|
</script>
|