fix import

This commit is contained in:
kakkokari-gtyih 2024-08-20 16:18:33 +09:00
parent ccedb6a116
commit 8c8e49f6fe
5 changed files with 9 additions and 9 deletions

View File

@ -43,7 +43,7 @@ import { ref, computed, shallowRef, inject, onActivated } from 'vue';
import * as Misskey from 'misskey-js'; import * as Misskey from 'misskey-js';
import MkNotes from '@/components/MkNotes.vue'; import MkNotes from '@/components/MkNotes.vue';
import XNotFound from '@/pages/not-found.vue'; import XNotFound from '@/pages/not-found.vue';
import XEmbedTimelineUI from '@/pages/embed/_timeline_ui_.vue'; import XEmbedTimelineUI from '@/embed/pages/_timeline_ui_.vue';
import type { Paging } from '@/components/MkPagination.vue'; import type { Paging } from '@/components/MkPagination.vue';
import { misskeyApi } from '@/scripts/misskey-api.js'; import { misskeyApi } from '@/scripts/misskey-api.js';
import { i18n } from '@/i18n.js'; import { i18n } from '@/i18n.js';

View File

@ -6,7 +6,7 @@ SPDX-License-Identifier: AGPL-3.0-only
<template> <template>
<div :class="$style.noteEmbedRoot"> <div :class="$style.noteEmbedRoot">
<MkLoading v-if="loading"/> <MkLoading v-if="loading"/>
<MkNoteEmbed v-else-if="note" :note="note"/> <MkEmNote v-else-if="note" :note="note"/>
<XNotFound v-else/> <XNotFound v-else/>
</div> </div>
</template> </template>
@ -14,7 +14,7 @@ SPDX-License-Identifier: AGPL-3.0-only
<script setup lang="ts"> <script setup lang="ts">
import { ref, provide, inject, onActivated } from 'vue'; import { ref, provide, inject, onActivated } from 'vue';
import * as Misskey from 'misskey-js'; import * as Misskey from 'misskey-js';
import MkNoteEmbed from '@/components/MkNoteEmbed.vue'; import MkEmNote from '@/embed/components/MkEmNote.vue';
import XNotFound from '@/pages/not-found.vue'; import XNotFound from '@/pages/not-found.vue';
import { misskeyApi } from '@/scripts/misskey-api.js'; import { misskeyApi } from '@/scripts/misskey-api.js';
import { useRouter } from '@/router/supplier.js'; import { useRouter } from '@/router/supplier.js';

View File

@ -41,7 +41,7 @@ SPDX-License-Identifier: AGPL-3.0-only
import { computed, shallowRef, inject, onActivated } from 'vue'; import { computed, shallowRef, inject, onActivated } from 'vue';
import MkNotes from '@/components/MkNotes.vue'; import MkNotes from '@/components/MkNotes.vue';
import XNotFound from '@/pages/not-found.vue'; import XNotFound from '@/pages/not-found.vue';
import XEmbedTimelineUI from '@/pages/embed/_timeline_ui_.vue'; import XEmbedTimelineUI from '@/embed/pages/_timeline_ui_.vue';
import type { Paging } from '@/components/MkPagination.vue'; import type { Paging } from '@/components/MkPagination.vue';
import { i18n } from '@/i18n.js'; import { i18n } from '@/i18n.js';
import { instance } from '@/instance.js'; import { instance } from '@/instance.js';

View File

@ -50,7 +50,7 @@ import { ref, computed, shallowRef, inject, onActivated } from 'vue';
import * as Misskey from 'misskey-js'; import * as Misskey from 'misskey-js';
import MkNotes from '@/components/MkNotes.vue'; import MkNotes from '@/components/MkNotes.vue';
import XNotFound from '@/pages/not-found.vue'; import XNotFound from '@/pages/not-found.vue';
import XEmbedTimelineUI from '@/pages/embed/_timeline_ui_.vue'; import XEmbedTimelineUI from '@/embed/pages/_timeline_ui_.vue';
import type { Paging } from '@/components/MkPagination.vue'; import type { Paging } from '@/components/MkPagination.vue';
import { misskeyApi } from '@/scripts/misskey-api.js'; import { misskeyApi } from '@/scripts/misskey-api.js';
import { i18n } from '@/i18n.js'; import { i18n } from '@/i18n.js';

View File

@ -10,16 +10,16 @@ import { $i } from '@/account.js';
const routes: RouteDef[] = [{ const routes: RouteDef[] = [{
path: '/embed/notes/:noteId', path: '/embed/notes/:noteId',
component: page(() => import('@/pages/embed/note.vue')), component: page(() => import('@/embed/pages/note.vue')),
}, { }, {
path: '/embed/user-timeline/@:username', path: '/embed/user-timeline/@:username',
component: page(() => import('@/pages/embed/user-timeline.vue')), component: page(() => import('@/embed/pages/user-timeline.vue')),
}, { }, {
path: '/embed/clips/:clipId', path: '/embed/clips/:clipId',
component: page(() => import('@/pages/embed/clip.vue')), component: page(() => import('@/embed/pages/clip.vue')),
}, { }, {
path: '/embed/tags/:tag', path: '/embed/tags/:tag',
component: page(() => import('@/pages/embed/tag.vue')), component: page(() => import('@/embed/pages/tag.vue')),
}, { }, {
path: '/:(*)', path: '/:(*)',
component: page(() => import('@/pages/not-found.vue')), component: page(() => import('@/pages/not-found.vue')),