materio-d9/web/themes/custom/materiotheme/vuejs/components/Content/MainContent.vue

22 lines
353 B
Vue

<template lang="html">
<div id="main-content" v-html="html"></div>
</template>
<script>
import { mapState, mapActions } from 'vuex'
export default {
props:['html'],
computed: {
...mapState({
token: state => state.User.token,
isloggedin: state => state.User.isloggedin
})
}
}
</script>
<style lang="scss" scoped>
</style>