Reduce initial bundle size
This commit is contained in:
parent
3cc2049fb3
commit
cd4c7689b7
13 changed files with 67 additions and 46 deletions
|
|
@ -38,7 +38,6 @@
|
|||
import define from '../../../common/define-widget';
|
||||
import i18n from '../../../i18n';
|
||||
import insertTextAtCursor from 'insert-text-at-cursor';
|
||||
import XPostFormAttaches from '../components/post-form-attaches.vue';
|
||||
|
||||
export default define({
|
||||
name: 'post-form',
|
||||
|
|
@ -49,7 +48,7 @@ export default define({
|
|||
i18n: i18n('desktop/views/widgets/post-form.vue'),
|
||||
|
||||
components: {
|
||||
XPostFormAttaches
|
||||
XPostFormAttaches: () => import('../components/post-form-attaches.vue').then(m => m.default)
|
||||
},
|
||||
|
||||
data() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue