2019-06-09 05:20:23 +02:00
|
|
|
import Photos from "pages/photos.vue";
|
2019-06-17 21:45:06 +02:00
|
|
|
import Albums from "pages/albums.vue";
|
2019-06-09 05:20:23 +02:00
|
|
|
import Places from "pages/places.vue";
|
2019-05-28 03:49:44 +02:00
|
|
|
import Labels from "pages/labels.vue";
|
2019-06-09 04:37:02 +02:00
|
|
|
import Events from "pages/events.vue";
|
|
|
|
import People from "pages/people.vue";
|
2019-06-14 21:16:59 +02:00
|
|
|
import Library from "pages/library.vue";
|
2019-06-09 05:20:23 +02:00
|
|
|
import Share from "pages/share.vue";
|
|
|
|
import Settings from "pages/settings.vue";
|
|
|
|
import Todo from "pages/todo.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",
|
2019-06-09 05:20:23 +02:00
|
|
|
component: Photos,
|
2019-05-29 01:51:53 +02:00
|
|
|
meta: {area: "Photos"},
|
|
|
|
},
|
2019-06-17 21:45:06 +02:00
|
|
|
{
|
|
|
|
name: "Albums",
|
|
|
|
path: "/albums",
|
|
|
|
component: Albums,
|
|
|
|
meta: {area: "Albums"},
|
|
|
|
},
|
2019-05-29 01:51:53 +02:00
|
|
|
{
|
|
|
|
name: "Favorites",
|
|
|
|
path: "/favorites",
|
2019-06-09 05:20:23 +02:00
|
|
|
component: Photos,
|
2019-05-29 01:51:53 +02:00
|
|
|
meta: {area: "Favorites"},
|
|
|
|
props: {staticFilter: {favorites: true}},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name: "Places",
|
|
|
|
path: "/places",
|
2019-06-09 05:20:23 +02:00
|
|
|
component: Places,
|
2019-05-29 01:51:53 +02:00
|
|
|
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: "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
|
|
|
},
|
|
|
|
{
|
2019-06-14 21:16:59 +02:00
|
|
|
name: "Library",
|
|
|
|
path: "/library",
|
|
|
|
component: Library,
|
|
|
|
meta: {area: "Library"},
|
2019-05-29 01:51:53 +02:00
|
|
|
},
|
|
|
|
{
|
2019-06-09 05:20:23 +02:00
|
|
|
name: "Share",
|
|
|
|
path: "/share",
|
|
|
|
component: Share,
|
|
|
|
meta: {area: "Share"},
|
2019-05-29 01:51:53 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
name: "Settings",
|
|
|
|
path: "/settings",
|
2019-06-09 05:20:23 +02:00
|
|
|
component: Settings,
|
2019-05-29 01:51:53 +02:00
|
|
|
meta: {area: "Settings"},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
path: "*", redirect: "/photos",
|
|
|
|
},
|
2018-07-27 17:31:39 +02:00
|
|
|
];
|