2019-05-21 17:59:12 +02:00
|
|
|
import PhotosPage from "pages/photos.vue";
|
|
|
|
import PlacesPage from "pages/places.vue";
|
2019-05-21 01:39:52 +02:00
|
|
|
import PhotosEdit from "pages/photosEdit.vue";
|
|
|
|
import Albums from "pages/albums.vue";
|
|
|
|
import Albums2 from "pages/albums2.vue";
|
|
|
|
import Import2 from "pages/import2.vue";
|
|
|
|
import Import3 from "pages/import3.vue";
|
|
|
|
import Import from "pages/import.vue";
|
|
|
|
import Export from "pages/export.vue";
|
|
|
|
import Settings from "pages/settings.vue";
|
2019-05-28 03:49:44 +02:00
|
|
|
import Labels from "pages/labels.vue";
|
2019-05-21 01:39:52 +02:00
|
|
|
import Todo from "pages/todo.vue";
|
2019-06-09 04:37:02 +02:00
|
|
|
import Events from "pages/events.vue";
|
|
|
|
import People from "pages/people.vue";
|
2018-07-27 17:31:39 +02:00
|
|
|
|
|
|
|
export default [
|
2019-05-29 01:51:53 +02:00
|
|
|
{
|
|
|
|
name: "Home",
|
|
|
|
path: "/",
|
|
|
|
redirect: "/photos",
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name: "Photos",
|
|
|
|
path: "/photos",
|
|
|
|
component: PhotosPage,
|
|
|
|
meta: {area: "Photos"},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name: "Favorites",
|
|
|
|
path: "/favorites",
|
|
|
|
component: PhotosPage,
|
|
|
|
meta: {area: "Favorites"},
|
|
|
|
props: {staticFilter: {favorites: true}},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name: "Places",
|
|
|
|
path: "/places",
|
|
|
|
component: PlacesPage,
|
|
|
|
meta: {area: "Places"},
|
|
|
|
},
|
|
|
|
{
|
2019-06-09 04:37:02 +02:00
|
|
|
name: "Labels",
|
|
|
|
path: "/labels",
|
|
|
|
component: Labels,
|
|
|
|
meta: {area: "Labels"},
|
2019-05-29 01:51:53 +02:00
|
|
|
},
|
|
|
|
{
|
2019-06-09 04:37:02 +02:00
|
|
|
name: "Events",
|
|
|
|
path: "/events",
|
|
|
|
component: Events,
|
|
|
|
meta: {area: "Events"},
|
2019-05-29 01:51:53 +02:00
|
|
|
},
|
|
|
|
{
|
2019-06-09 04:37:02 +02:00
|
|
|
name: "People",
|
|
|
|
path: "/people",
|
|
|
|
component: People,
|
|
|
|
meta: {area: "People"},
|
2019-05-29 01:51:53 +02:00
|
|
|
},
|
|
|
|
{
|
2019-06-09 04:37:02 +02:00
|
|
|
name: "PhotosEdit",
|
|
|
|
path: "/photosEdit",
|
|
|
|
component: Todo,
|
|
|
|
meta: {area: "Photos"},
|
2019-05-29 01:51:53 +02:00
|
|
|
},
|
|
|
|
{
|
2019-06-09 04:37:02 +02:00
|
|
|
name: "Filters",
|
|
|
|
path: "/filters",
|
2019-05-29 01:51:53 +02:00
|
|
|
component: Todo,
|
2019-06-09 04:37:02 +02:00
|
|
|
meta: {area: "Filters"},
|
2019-05-29 01:51:53 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
name: "Albums",
|
|
|
|
path: "/albums",
|
2019-06-09 04:37:02 +02:00
|
|
|
component: Todo,
|
2019-05-29 01:51:53 +02:00
|
|
|
meta: {area: "Albums"},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name: "Albums2",
|
|
|
|
path: "/albums2",
|
|
|
|
component: Albums2,
|
|
|
|
meta: {area: "Albums"},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name: "Import",
|
|
|
|
path: "/import",
|
2019-06-09 04:37:02 +02:00
|
|
|
component: Todo,
|
2019-05-29 01:51:53 +02:00
|
|
|
meta: {area: "Import"},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name: "Import2",
|
|
|
|
path: "/import2",
|
|
|
|
component: Import2, meta: {area: "Import"},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name: "Import3",
|
|
|
|
path: "/import3",
|
|
|
|
component: Import3, meta: {area: "Import"},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name: "Export",
|
|
|
|
path: "/export",
|
2019-06-09 04:37:02 +02:00
|
|
|
component: Todo,
|
2019-05-29 01:51:53 +02:00
|
|
|
meta: {area: "Export"},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name: "Settings",
|
|
|
|
path: "/settings",
|
2019-06-09 04:37:02 +02:00
|
|
|
component: Todo,
|
2019-05-29 01:51:53 +02:00
|
|
|
meta: {area: "Settings"},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
path: "*", redirect: "/photos",
|
|
|
|
},
|
2018-07-27 17:31:39 +02:00
|
|
|
];
|