misskey/src/client/pages/preview.vue

33 lines
493 B
Vue
Raw Normal View History

2021-02-06 10:06:54 +01:00
<template>
<div class="graojtoi">
<MkSample/>
</div>
</template>
<script lang="ts">
import { defineComponent } from 'vue';
2021-03-23 09:30:14 +01:00
import MkSample from '@client/components/sample.vue';
2021-04-10 05:54:12 +02:00
import * as symbols from '@client/symbols';
2021-02-06 10:06:54 +01:00
export default defineComponent({
components: {
MkSample,
},
data() {
return {
2021-04-10 05:54:12 +02:00
[symbols.PAGE_INFO]: {
2021-02-06 10:06:54 +01:00
title: this.$ts.preview,
icon: 'fas fa-eye',
2021-02-06 10:06:54 +01:00
},
}
},
});
</script>
<style lang="scss" scoped>
.graojtoi {
padding: var(--margin);
}
</style>