diff --git a/package.json b/package.json index a988e5731..e4bcae1a2 100644 --- a/package.json +++ b/package.json @@ -182,6 +182,7 @@ "uglifyjs-webpack-plugin": "1.2.0", "url-loader": "^0.6.2", "uuid": "3.2.1", + "v-animate-css": "0.0.2", "vhost": "3.0.2", "vue": "2.5.13", "vue-cropperjs": "2.2.0", diff --git a/src/web/app/common/views/components/othello.game.vue b/src/web/app/common/views/components/othello.game.vue index 31030f614..26612daea 100644 --- a/src/web/app/common/views/components/othello.game.vue +++ b/src/web/app/common/views/components/othello.game.vue @@ -2,13 +2,16 @@
{{ turnUser.name }}のターンです
{{ turnUser.name }}のターン
-{{ isMyTurn ? 'あなたのターンです' : '相手のターンです' }}
- {{ game.winner.name }}の勝ち{{ game.settings.is_llotheo ? ' (ロセオ)' : '' }} - 引き分け -
+ @@ -265,8 +265,10 @@ export default Vue.extend({ line-height 32px .game + display block margin 8px 0 padding 8px + color #677f84 border solid 1px #e1e5e8 border-radius 6px cursor pointer diff --git a/src/web/app/init.ts b/src/web/app/init.ts index 52d2ecf99..28adfd3b0 100644 --- a/src/web/app/init.ts +++ b/src/web/app/init.ts @@ -6,6 +6,7 @@ import Vue from 'vue'; import VueRouter from 'vue-router'; import VModal from 'vue-js-modal'; import * as TreeView from 'vue-json-tree-view'; +import VAnimateCss from 'v-animate-css'; import Element from 'element-ui'; import ElementLocaleEn from 'element-ui/lib/locale/lang/en'; import ElementLocaleJa from 'element-ui/lib/locale/lang/ja'; @@ -25,6 +26,7 @@ switch (lang) { Vue.use(VueRouter); Vue.use(VModal); Vue.use(TreeView); +Vue.use(VAnimateCss); Vue.use(Element, { locale: elementLocale }); // Register global directives