diff --git a/src/components/Round.vue b/src/components/Round.vue index f1d8d4c..e751c0e 100644 --- a/src/components/Round.vue +++ b/src/components/Round.vue @@ -1,29 +1,53 @@ + + diff --git a/src/components/RoundTurns.vue b/src/components/RoundTurns.vue new file mode 100644 index 0000000..7a59624 --- /dev/null +++ b/src/components/RoundTurns.vue @@ -0,0 +1,29 @@ + + + diff --git a/src/views/Home.vue b/src/views/Home.vue index cc352cf..7ed25fc 100644 --- a/src/views/Home.vue +++ b/src/views/Home.vue @@ -74,14 +74,7 @@


@@ -100,16 +93,13 @@
- - - - - + @@ -117,11 +107,23 @@ import {Component, Vue} from 'vue-property-decorator' import PerudoApi from "@/services/PerudoApi"; import Die from "@/components/Die.vue"; -import {ApiObject, GameState, GameStateObject, IsStartedObject, JoinCreateGameObject, MyTurnObject, RoundObject, TurnObject, GameStateState, PlayerObject} from "@/objects/objects"; -import Round from "@/components/Round.vue"; // @ is an alias to /src +import { + ApiObject, + GameState, + GameStateObject, + IsStartedObject, + JoinCreateGameObject, + MyTurnObject, + RoundObject, + TurnObject, + GameStateState, + PlayerObject +} from "@/objects/objects"; +import Round from "@/components/Round.vue"; +import RoundTurns from "@/components/RoundTurns.vue"; @Component({ - components: {Round, Die} + components: {RoundTurns, Round, Die} }) export default class Home extends Vue { private gameState: GameState = GameState.Setup;