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

27 lines
464 B
Vue
Raw Normal View History

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