Adrien 4 years ago
parent
commit
d0c4febf87
5 changed files with 5 additions and 5 deletions
  1. +2
    -2
      src/components/Battleground.vue
  2. +1
    -1
      src/components/Objective.vue
  3. +0
    -0
      src/components/TheBattlegroundSelector.vue
  4. +0
    -0
      src/components/Timer.vue
  5. +2
    -2
      src/router/index.js

+ 2
- 2
src/components/Battleground.vue View File

@@ -36,8 +36,8 @@


<script> <script>
import BATTLEGROUNDS from '@/gameInfos/battlegrounds' import BATTLEGROUNDS from '@/gameInfos/battlegrounds'
import Timer from '@/components/Battleground/Timer'
import Objective from '@/components/Battleground/Objective'
import Timer from '@/components/Timer'
import Objective from '@/components/Objective'


export default { export default {
name: 'Battleground', name: 'Battleground',


src/components/Battleground/Objective.vue → src/components/Objective.vue View File

@@ -25,7 +25,7 @@
</style> </style>


<script> <script>
import Timer from '@/components/Battleground/Timer'
import Timer from '@/components/Timer'
export default { export default {
name: 'Objective', name: 'Objective',
props: { props: {

src/components/BattlegroundSelector.vue → src/components/TheBattlegroundSelector.vue View File


src/components/Battleground/Timer.vue → src/components/Timer.vue View File


+ 2
- 2
src/router/index.js View File

@@ -2,7 +2,7 @@ import Vue from 'vue'
import Router from 'vue-router' import Router from 'vue-router'


import Hello from '@/components/Hello' import Hello from '@/components/Hello'
import BattlegroundSelector from '@/components/BattlegroundSelector'
import TheBattlegroundSelector from '@/components/TheBattlegroundSelector'
import Battleground from '@/components/Battleground' import Battleground from '@/components/Battleground'


Vue.use(Router) Vue.use(Router)
@@ -16,7 +16,7 @@ export default new Router({
}, },
{ {
path: '/battlegrounds', path: '/battlegrounds',
component: BattlegroundSelector
component: TheBattlegroundSelector
}, },
{ {
path: '/battleground/:battlegroundId', path: '/battleground/:battlegroundId',


Loading…
Cancel
Save