refactor: Load Editor as need to reduce bundle size
parent
ae893abc5f
commit
060a7ad80c
|
@ -32,7 +32,6 @@ import NotFound from './errors/404'
|
|||
import InternalError from './errors/500'
|
||||
import Preview from '@/components/files/Preview'
|
||||
import Listing from '@/components/files/Listing'
|
||||
import Editor from '@/components/files/Editor'
|
||||
import { files as api } from '@/api'
|
||||
import { mapGetters, mapState, mapMutations } from 'vuex'
|
||||
|
||||
|
@ -48,7 +47,7 @@ export default {
|
|||
InternalError,
|
||||
Preview,
|
||||
Listing,
|
||||
Editor
|
||||
Editor: () => import('@/components/files/Editor')
|
||||
},
|
||||
computed: {
|
||||
...mapGetters([
|
||||
|
|
Loading…
Reference in New Issue