🎨 Improve code readability by reformatting and updating function definitions and comments
This commit is contained in:
41
code/websites/pokedex.online/src/router/index.js
Normal file
41
code/websites/pokedex.online/src/router/index.js
Normal file
@@ -0,0 +1,41 @@
|
||||
import { createRouter, createWebHistory } from 'vue-router';
|
||||
import Home from '../views/Home.vue';
|
||||
import GamemasterManager from '../views/GamemasterManager.vue';
|
||||
import ChallongeTest from '../views/ChallongeTest.vue';
|
||||
import ApiKeyManager from '../views/ApiKeyManager.vue';
|
||||
import OAuthCallback from '../views/OAuthCallback.vue';
|
||||
|
||||
const routes = [
|
||||
{
|
||||
path: '/',
|
||||
name: 'Home',
|
||||
component: Home
|
||||
},
|
||||
{
|
||||
path: '/gamemaster',
|
||||
name: 'GamemasterManager',
|
||||
component: GamemasterManager
|
||||
},
|
||||
{
|
||||
path: '/challonge-test',
|
||||
name: 'ChallongeTest',
|
||||
component: ChallongeTest
|
||||
},
|
||||
{
|
||||
path: '/api-key-manager',
|
||||
name: 'ApiKeyManager',
|
||||
component: ApiKeyManager
|
||||
},
|
||||
{
|
||||
path: '/oauth/callback',
|
||||
name: 'OAuthCallback',
|
||||
component: OAuthCallback
|
||||
}
|
||||
];
|
||||
|
||||
const router = createRouter({
|
||||
history: createWebHistory(),
|
||||
routes
|
||||
});
|
||||
|
||||
export default router;
|
||||
Reference in New Issue
Block a user