naive-ui/demo/documentation/intro/intro.vue
2019-10-10 22:38:29 +08:00

33 lines
431 B
Vue

<template>
<div
ref="doc"
class="readme"
>
<readme />
</div>
</template>
<script>
import readme from './intro.vue.md'
import { replaceEmojiWithImages } from '../../utils'
export default {
components: {
readme
},
mounted () {
replaceEmojiWithImages(this.$refs.doc)
},
methods: {
}
}
</script>
<style scoped>
.readme {
padding: 24px 0 24px 0;
max-width: 720px;
margin: auto;
}
</style>