diff --git a/src/client/app/common/views/components/index.ts b/src/client/app/common/views/components/index.ts
index 5665ef88d..914285ac4 100644
--- a/src/client/app/common/views/components/index.ts
+++ b/src/client/app/common/views/components/index.ts
@@ -40,7 +40,6 @@ import twitterSetting from './twitter-setting.vue';
import githubSetting from './github-setting.vue';
import fileTypeIcon from './file-type-icon.vue';
import emoji from './emoji.vue';
-import Reversi from './games/reversi/reversi.vue';
import welcomeTimeline from './welcome-timeline.vue';
import uiInput from './ui/input.vue';
import uiButton from './ui/button.vue';
@@ -95,7 +94,6 @@ Vue.component('mk-twitter-setting', twitterSetting);
Vue.component('mk-github-setting', githubSetting);
Vue.component('mk-file-type-icon', fileTypeIcon);
Vue.component('mk-emoji', emoji);
-Vue.component('mk-reversi', Reversi);
Vue.component('mk-welcome-timeline', welcomeTimeline);
Vue.component('ui-input', uiInput);
Vue.component('ui-button', uiButton);
diff --git a/src/client/app/desktop/views/components/game-window.vue b/src/client/app/desktop/views/components/game-window.vue
index 10e974d42..adf61bb16 100644
--- a/src/client/app/desktop/views/components/game-window.vue
+++ b/src/client/app/desktop/views/components/game-window.vue
@@ -1,7 +1,7 @@
%i18n:@game%
- game = g"/>
+ game = g"/>
@@ -10,6 +10,9 @@ import Vue from 'vue';
import { url } from '../../../config';
export default Vue.extend({
+ components: {
+ XReversi: () => import('../../../common/views/components/games/reversi/reversi.vue')
+ },
data() {
return {
game: null
diff --git a/src/client/app/desktop/views/pages/games/reversi.vue b/src/client/app/desktop/views/pages/games/reversi.vue
index 1b0e790a2..ecf138bdd 100644
--- a/src/client/app/desktop/views/pages/games/reversi.vue
+++ b/src/client/app/desktop/views/pages/games/reversi.vue
@@ -1,6 +1,6 @@
-
+
@@ -8,6 +8,9 @@
import Vue from 'vue';
export default Vue.extend({
+ components: {
+ XReversi: () => import('../../../../common/views/components/games/reversi/reversi.vue')
+ },
props: {
ui: {
default: false
diff --git a/src/client/app/mobile/views/pages/games/reversi.vue b/src/client/app/mobile/views/pages/games/reversi.vue
index 5b212b07d..d02bc191a 100644
--- a/src/client/app/mobile/views/pages/games/reversi.vue
+++ b/src/client/app/mobile/views/pages/games/reversi.vue
@@ -1,7 +1,7 @@
%i18n:@reversi%
-
+
@@ -9,6 +9,9 @@
import Vue from 'vue';
export default Vue.extend({
+ components: {
+ XReversi: () => import('../../../../common/views/components/games/reversi/reversi.vue')
+ },
mounted() {
document.title = `${(this as any).os.instanceName} %i18n:@reversi%`;
},