Reduce initial bundle size

This commit is contained in:
syuilo
2019-05-21 04:21:43 +09:00
parent 3cc2049fb3
commit cd4c7689b7
13 changed files with 67 additions and 46 deletions

View File

@@ -12,7 +12,7 @@
<div class="mk-post-form-window--body">
<mk-note-preview v-if="reply" class="notePreview" :note="reply"/>
<mk-post-form ref="form"
<x-post-form ref="form"
:reply="reply"
:mention="mention"
@posted="onPosted"
@@ -27,9 +27,15 @@
<script lang="ts">
import Vue from 'vue';
import i18n from '../../../i18n';
import XPostForm from './post-form.vue';
export default Vue.extend({
i18n: i18n('desktop/views/components/post-form-window.vue'),
components: {
XPostForm
},
props: {
reply: {
type: Object,