mirror of
https://github.com/StarCitizenTools/mediawiki-extensions-TabberNeue.git
synced 2024-12-21 20:33:14 +00:00
dcfc693834
Check commit and GitHub actions for more details
31 lines
440 B
Vue
31 lines
440 B
Vue
<template>
|
|
<div
|
|
v-html="html"
|
|
>
|
|
</div>
|
|
</template>
|
|
|
|
<script>
|
|
const { defineComponent } = require( 'vue' );
|
|
|
|
// @vue/component
|
|
module.exports = exports = defineComponent( {
|
|
name: 'TabContent',
|
|
compatConfig: {
|
|
MODE: 3
|
|
},
|
|
compilerOptions: {
|
|
whitespace: 'condense'
|
|
},
|
|
props: {
|
|
html: {
|
|
type: String,
|
|
required: true
|
|
}
|
|
},
|
|
mounted: function () {
|
|
this.$el.parentElement.innerHTML = this.$el.innerHTML;
|
|
}
|
|
} );
|
|
</script>
|