refactor(frontend): page-metadata -> page
This commit is contained in:
parent
5ed1101bbd
commit
9998cb84e8
143 changed files with 286 additions and 286 deletions
|
|
@ -15,7 +15,7 @@ import * as Misskey from 'misskey-js';
|
|||
import GameSetting from './game.setting.vue';
|
||||
import GameBoard from './game.board.vue';
|
||||
import { misskeyApi } from '@/utility/misskey-api.js';
|
||||
import { definePageMetadata } from '@/utility/page-metadata.js';
|
||||
import { definePage } from '@/page.js';
|
||||
import { useStream } from '@/stream.js';
|
||||
import { signinRequired } from '@/account.js';
|
||||
import { useRouter } from '@/router/supplier.js';
|
||||
|
|
@ -114,7 +114,7 @@ onUnmounted(() => {
|
|||
}
|
||||
});
|
||||
|
||||
definePageMetadata(() => ({
|
||||
definePage(() => ({
|
||||
title: 'Reversi',
|
||||
icon: 'ti ti-device-gamepad',
|
||||
}));
|
||||
|
|
|
|||
|
|
@ -108,7 +108,7 @@ SPDX-License-Identifier: AGPL-3.0-only
|
|||
import { onDeactivated, onMounted, onUnmounted, ref } from 'vue';
|
||||
import * as Misskey from 'misskey-js';
|
||||
import { misskeyApi } from '@/utility/misskey-api.js';
|
||||
import { definePageMetadata } from '@/utility/page-metadata.js';
|
||||
import { definePage } from '@/page.js';
|
||||
import { useStream } from '@/stream.js';
|
||||
import MkButton from '@/components/MkButton.vue';
|
||||
import MkFolder from '@/components/MkFolder.vue';
|
||||
|
|
@ -261,7 +261,7 @@ onUnmounted(() => {
|
|||
cancelMatching();
|
||||
});
|
||||
|
||||
definePageMetadata(() => ({
|
||||
definePage(() => ({
|
||||
title: 'Reversi',
|
||||
icon: 'ti ti-device-gamepad',
|
||||
}));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue