misskey/packages/client/src/pages/preview.vue

27 lines
460 B
Vue
Raw Normal View History

2021-02-06 09:06:54 +00:00
<template>
<div class="graojtoi">
<MkSample/>
</div>
</template>
<script lang="ts" setup>
import { computed } from 'vue';
2021-11-11 17:02:25 +00:00
import MkSample from '@/components/sample.vue';
import * as symbols from '@/symbols';
import { i18n } from '@/i18n';
2021-02-06 09:06:54 +00:00
defineExpose({
[symbols.PAGE_INFO]: computed(() => ({
title: i18n.ts.preview,
icon: 'fas fa-eye',
bg: 'var(--bg)',
})),
2021-02-06 09:06:54 +00:00
});
</script>
<style lang="scss" scoped>
.graojtoi {
padding: var(--margin);
}
</style>