server stats infra
This commit is contained in:
@@ -4,6 +4,7 @@ import GameList from '../vues/GameList.vue'
|
||||
import GameDetails from '../vues/GameDetails.vue'
|
||||
import CharacterList from '../vues/CharacterList.vue'
|
||||
import CharacterDetails from '../vues/CharacterDetails.vue'
|
||||
import ServerStats from '../vues/ServerStats.vue'
|
||||
|
||||
const root = {
|
||||
path: '/',
|
||||
@@ -30,7 +31,19 @@ const characterDetailsRoute = {
|
||||
component: CharacterDetails
|
||||
}
|
||||
|
||||
const routes = [root, gameListRoute, gameDetailsRoute, characterListRoute, characterDetailsRoute]
|
||||
const serverStatsRoute = {
|
||||
path: '/serverstats',
|
||||
component: ServerStats
|
||||
}
|
||||
|
||||
const routes = [
|
||||
root,
|
||||
gameListRoute,
|
||||
gameDetailsRoute,
|
||||
characterListRoute,
|
||||
characterDetailsRoute,
|
||||
serverStatsRoute
|
||||
]
|
||||
|
||||
export default createRouter({
|
||||
history: createWebHashHistory(),
|
||||
|
||||
Reference in New Issue
Block a user