Timers and other features for Heroes of the Storm
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
 
 
 
 
 

27 lignes
532 B

  1. import Vue from 'vue'
  2. import Router from 'vue-router'
  3. import Hello from '@/components/Hello'
  4. import TheBattlegroundSelector from '@/components/TheBattlegroundSelector'
  5. import Battleground from '@/components/Battleground'
  6. Vue.use(Router)
  7. export default new Router({
  8. routes: [
  9. {
  10. path: '/',
  11. name: 'Hello',
  12. component: Hello
  13. },
  14. {
  15. path: '/battlegrounds',
  16. component: TheBattlegroundSelector
  17. },
  18. {
  19. path: '/battleground/:battlegroundId',
  20. component: Battleground
  21. }
  22. ]
  23. })