misskey/src/client/pages/preview.vue

34 lines
545 B
Vue
Raw Normal View History

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