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 [
{ name: 'Home', path: '/', redirect: '/photos' },
{ name: 'Photos', path: '/photos', component: Photos },
{ name: 'Filters', path: '/filters', component: Todo },
{ name: 'Calendar', path: '/calendar', component: Todo },
{ name: 'Tags', path: '/tags', component: Todo },
{ name: 'Bookmarks', path: '/bookmarks', component: Todo },
{ name: 'Favorites', path: '/favorites', component: Todo },
{ name: 'Places', path: '/places', component: Todo },
{ 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' },
];