-
-
-
-
-
-
-
-
-
-
-
-
-
-
{{ i18n.tsx.fromX({ x: instanceName }) }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
{{ i18n.tsx.fromX({ x: instanceName }) }}
+
+
+
+
-
-
-
-
-
-
+
+
+
+
+
@@ -46,6 +50,7 @@ import { ref, computed, shallowRef } from 'vue';
import * as Misskey from 'misskey-js';
import MkNotes from '@/components/MkNotes.vue';
import XNotFound from '@/pages/not-found.vue';
+import XEmbedTimelineUI from '@/pages/embed/_timeline_ui_.vue';
import type { Paging } from '@/components/MkPagination.vue';
import { misskeyApi } from '@/scripts/misskey-api.js';
import { i18n } from '@/i18n.js';
@@ -98,22 +103,12 @@ misskeyApi('users/show', {
diff --git a/packages/frontend/src/router/definition.ts b/packages/frontend/src/router/definition.ts
index 0da1c5131e..d8af14f79f 100644
--- a/packages/frontend/src/router/definition.ts
+++ b/packages/frontend/src/router/definition.ts
@@ -565,6 +565,13 @@ const routes: RouteDef[] = [{
header: 'showHeader',
autoload: 'enableAutoLoad',
}
+}, {
+ path: '/embed/clips/:clipId',
+ component: page(() => import('@/pages/embed/clip.vue')),
+ query: {
+ header: 'showHeader',
+ autoload: 'enableAutoLoad',
+ }
}, {
path: '/timeline',
component: page(() => import('@/pages/timeline.vue')),