fix remainder of inefficient imports
This commit is contained in:
parent
a724458fcc
commit
c5445096e8
2 changed files with 6 additions and 6 deletions
|
|
@ -11,6 +11,7 @@ import PublicTimeline from 'src/components/public_timeline/public_timeline.vue'
|
||||||
import QuotesTimeline from 'src/components/quotes_timeline/quotes_timeline.vue'
|
import QuotesTimeline from 'src/components/quotes_timeline/quotes_timeline.vue'
|
||||||
import RemoteUserResolver from 'src/components/remote_user_resolver/remote_user_resolver.vue'
|
import RemoteUserResolver from 'src/components/remote_user_resolver/remote_user_resolver.vue'
|
||||||
import TagTimeline from 'src/components/tag_timeline/tag_timeline.vue'
|
import TagTimeline from 'src/components/tag_timeline/tag_timeline.vue'
|
||||||
|
import AuthForm from 'src/components/auth_form/auth_form.js'
|
||||||
|
|
||||||
import { useInstanceStore } from 'src/stores/instance.js'
|
import { useInstanceStore } from 'src/stores/instance.js'
|
||||||
import { useInstanceCapabilitiesStore } from 'src/stores/instance_capabilities.js'
|
import { useInstanceCapabilitiesStore } from 'src/stores/instance_capabilities.js'
|
||||||
|
|
@ -147,9 +148,7 @@ export default (store) => {
|
||||||
{
|
{
|
||||||
name: 'login',
|
name: 'login',
|
||||||
path: '/login',
|
path: '/login',
|
||||||
component: defineAsyncComponent(
|
component: AuthForm,
|
||||||
() => import('src/components/auth_form/auth_form.js'),
|
|
||||||
),
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'shout-panel',
|
name: 'shout-panel',
|
||||||
|
|
|
||||||
|
|
@ -1,12 +1,13 @@
|
||||||
import { mapActions, mapState } from 'pinia'
|
import { mapActions, mapState } from 'pinia'
|
||||||
|
import { defineAsyncComponent } from 'vue'
|
||||||
import ErrorModal from 'src/components/error_modal/error_modal.vue'
|
|
||||||
|
|
||||||
import { useInterfaceStore } from 'src/stores/interface.js'
|
import { useInterfaceStore } from 'src/stores/interface.js'
|
||||||
|
|
||||||
const GlobalError = {
|
const GlobalError = {
|
||||||
components: {
|
components: {
|
||||||
ErrorModal,
|
ErrorModal: defineAsyncComponent(
|
||||||
|
() => import('src/components/error_modal/error_modal.vue')
|
||||||
|
),
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
title() {
|
title() {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue