photoprism/frontend/src/app/routes.js

23 lines
1 KiB
JavaScript
Raw Normal View History

2018-08-03 15:17:13 +02:00
import Photos from 'app/pages/photos.vue';
import Albums from 'app/pages/albums.vue';
2018-09-05 22:55:28 +02:00
import Import from 'app/pages/import.vue';
import Export from 'app/pages/export.vue';
2018-08-03 15:17:13 +02:00
import Settings from 'app/pages/settings.vue';
2018-09-07 10:57:23 +02:00
import Todo from 'app/pages/todo.vue';
export default [
2018-09-06 23:58:16 +02:00
{ name: 'home', path: '/', redirect: '/photos' },
{ name: 'photos', path: '/photos', component: Photos },
2018-09-07 10:57:23 +02:00
{ name: 'filters', path: '/filters', component: Todo },
{ name: 'calendar', path: '/calendar', component: Todo },
{ name: 'tags', path: '/tags', component: Todo },
2018-09-07 10:57:23 +02:00
{ name: 'bookmarks', path: '/bookmarks', component: Todo },
{ name: 'favorites', path: '/favorites', component: Todo },
{ name: 'places', path: '/places', component: Todo },
2018-09-06 23:58:16 +02:00
{ name: 'albums', path: '/albums', component: Albums },
{ name: 'import', path: '/import', component: Import },
{ name: 'export', path: '/export', component: Export },
{ name: 'settings', path: '/settings', component: Settings },
2018-08-03 15:17:13 +02:00
{ path: '*', redirect: '/photos' },
];