photoprism/frontend/src/app/routes.js

34 lines
1.6 KiB
JavaScript
Raw Normal View History

2018-08-03 15:17:13 +02:00
import Photos from 'app/pages/photos.vue';
import PhotosEdit from 'app/pages/photosEdit.vue';
2018-08-03 15:17:13 +02:00
import Albums from 'app/pages/albums.vue';
import Albums2 from 'app/pages/albums2.vue';
import Import2 from 'app/pages/import2.vue';
import Import3 from 'app/pages/import3.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';
import Tags from 'app/pages/tags.vue';
2018-09-07 10:57:23 +02:00
import Todo from 'app/pages/todo.vue';
import Places from 'app/pages/places.vue';
import Calendar from 'app/pages/calendar.vue';
export default [
{ name: 'Home', path: '/', redirect: '/photos' },
{ name: 'Photos', path: '/photos', component: Photos },
{ name: 'PhotosEdit', path: '/photosEdit', component: PhotosEdit },
{ name: 'Filters', path: '/filters', component: Todo },
{ name: 'Calendar', path: '/calendar', component: Calendar },
{ name: 'Tags', path: '/tags', component: Tags },
{ name: 'Bookmarks', path: '/bookmarks', component: Todo },
{ name: 'Favorites', path: '/favorites', component: Todo },
{ name: 'Places', path: '/places', component: Places },
{ name: 'Albums', path: '/albums', component: Albums },
{ name: 'Albums2', path: '/albums2', component: Albums2 },
{ name: 'Import', path: '/import', component: Import },
{ name: 'Import2', path: '/import2', component: Import2 },
{ name: 'Import3', path: '/import3', component: Import3 },
{ name: 'Export', path: '/export', component: Export },
{ name: 'Settings', path: '/settings', component: Settings },
2018-08-03 15:17:13 +02:00
{ path: '*', redirect: '/photos' },
];