Files
AstralRinth/pages/mod/_id/index.vue
Geometrically 0e338ef453 Move mod pages to nuxt child (#201)
* Move mod pages to nuxt child

* Minor fixes

* Fix lockfile
2021-05-10 21:35:03 -07:00

30 lines
528 B
Vue

<template>
<div v-compiled-markdown="mod.body" v-highlightjs class="markdown-body"></div>
</template>
<script>
export default {
auth: false,
props: {
mod: {
type: Object,
default() {
return {}
},
},
},
created() {
this.$emit('update:link-bar', [['Description', '']])
},
}
</script>
<style lang="scss" scoped>
.markdown-body {
padding: 1rem;
margin-bottom: var(--spacing-card-md);
background: var(--color-raised-bg);
border-radius: var(--size-rounded-card);
}
</style>