create login page
This commit is contained in:
parent
6b31d89e1d
commit
5b3549068b
6 changed files with 88 additions and 42 deletions
|
|
@ -1,60 +1,65 @@
|
|||
import Home from "../views/Home.vue";
|
||||
import Notifications from "../views/Notifications.vue";
|
||||
import Reunions from "../views/Reunions.vue";
|
||||
import Inspirations from "../views/Inspirations.vue";
|
||||
import Kanban from "../views/Kanban.vue";
|
||||
import Brief from "../views/Brief.vue";
|
||||
import DesignToLight from "../views/DesignToLight.vue";
|
||||
import Home from '../views/Home.vue';
|
||||
import Notifications from '../views/Notifications.vue';
|
||||
import Reunions from '../views/Reunions.vue';
|
||||
import Inspirations from '../views/Inspirations.vue';
|
||||
import Kanban from '../views/Kanban.vue';
|
||||
import Brief from '../views/Brief.vue';
|
||||
import DesignToLight from '../views/DesignToLight.vue';
|
||||
import Login from '../views/Login.vue';
|
||||
|
||||
const routes = [
|
||||
{
|
||||
path: "/",
|
||||
path: '/',
|
||||
component: Home,
|
||||
},
|
||||
{
|
||||
path: "/notifications",
|
||||
path: '/login',
|
||||
component: Login,
|
||||
},
|
||||
{
|
||||
path: '/notifications',
|
||||
component: Notifications,
|
||||
},
|
||||
{
|
||||
path: "/reunions",
|
||||
path: '/reunions',
|
||||
component: Reunions,
|
||||
},
|
||||
{
|
||||
path: "/inspirations",
|
||||
path: '/inspirations',
|
||||
component: Inspirations,
|
||||
},
|
||||
{
|
||||
path: "/design-to-light",
|
||||
path: '/design-to-light',
|
||||
component: DesignToLight,
|
||||
},
|
||||
{
|
||||
path: "/projects/:id",
|
||||
path: '/projects/:id',
|
||||
component: Kanban,
|
||||
},
|
||||
{
|
||||
path: "/projects/:id/client-brief",
|
||||
path: '/projects/:id/client-brief',
|
||||
component: Brief,
|
||||
},
|
||||
{
|
||||
path: "/projects/:id/extended-brief",
|
||||
path: '/projects/:id/extended-brief',
|
||||
component: Brief,
|
||||
},
|
||||
|
||||
// Redirections
|
||||
{
|
||||
path: "/projects/:id/industrial-ideation",
|
||||
path: '/projects/:id/industrial-ideation',
|
||||
redirect: (to) => {
|
||||
return (
|
||||
"/projects/" +
|
||||
'/projects/' +
|
||||
to.params.id +
|
||||
"?dialog=industrial-ideation&comments=true"
|
||||
'?dialog=industrial-ideation&comments=true'
|
||||
);
|
||||
},
|
||||
},
|
||||
{
|
||||
path: "/projects/:id/proposal",
|
||||
path: '/projects/:id/proposal',
|
||||
redirect: (to) => {
|
||||
return "/projects/" + to.params.id + "?dialog=proposal&comments=true";
|
||||
return '/projects/' + to.params.id + '?dialog=proposal&comments=true';
|
||||
},
|
||||
},
|
||||
];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue