#7 added errorPages

This commit is contained in:
2021-11-23 10:33:24 +01:00
parent 21bf749556
commit 44d6a97fb4
12 changed files with 151 additions and 83 deletions

View File

@@ -1,13 +1,17 @@
import router from "../router";
export const GoToMatch = (id) => {
router.push({name: 'Match', params: {match_id: id}})
router.push({name: 'Match', params: {match_id: id}})
}
export const GoToPlayer = (id) => {
router.push({name: 'Player', params: {id: id}})
router.push({name: 'Player', params: {id: id}})
}
export const GoToError = (code) => {
router.push({name: code})
}
export const GoToLink = (link) => {
router.replace(link)
router.replace(link)
}