photoprism/frontend/src/app/routes.js

16 lines
544 B
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';
import Import from 'app/pages/Import.vue';
import Export from 'app/pages/Export.vue';
import Settings from 'app/pages/settings.vue';
export default [
2018-08-03 15:17:13 +02:00
{ path: '/', redirect: '/photos' },
{ path: '/photos', component: Photos },
{ path: '/albums', component: Albums },
{ path: '/import', component: Import },
{ path: '/export', component: Export },
{ path: '/settings', component: Settings },
{ path: '*', redirect: '/photos' },
];