Add error page and login error redirection

This commit is contained in:
Chocobozzz
2019-04-01 11:49:54 +02:00
parent 5d8f1297b1
commit ceeb966edd
16 changed files with 187 additions and 30 deletions

View File

@@ -2,6 +2,7 @@ import EventList from '@/views/Event/EventList.vue';
import Location from '@/views/Location.vue';
import CreateEvent from '@/views/Event/Create.vue';
import Event from '@/views/Event/Event.vue';
import { RouteConfig } from 'vue-router';
export enum EventRouteName {
EVENT_LIST = 'EventList',
@@ -11,7 +12,7 @@ export enum EventRouteName {
LOCATION = 'Location',
}
export const eventRoutes = [
export const eventRoutes: RouteConfig[] = [
{
path: '/events/list/:location?',
name: EventRouteName.EVENT_LIST,