diff --git a/frontend/App.vue b/frontend/App.vue index 79fbbfe..ad794fd 100644 --- a/frontend/App.vue +++ b/frontend/App.vue @@ -1,7 +1,6 @@ diff --git a/frontend/router/index.ts b/frontend/router/index.ts index 6338745..8391b58 100644 --- a/frontend/router/index.ts +++ b/frontend/router/index.ts @@ -1,7 +1,7 @@ import { createRouter, createWebHashHistory } from 'vue-router' import Container from '../views/Container.vue' import Home from '../views/Home.vue' -import New from '../views/New.vue' +import Update from '../views/Update.vue' const router = createRouter({ history: createWebHashHistory(import.meta.env.BASE_URL), @@ -11,12 +11,16 @@ const router = createRouter({ component: Home, }, { - path: '/new', - component: New, + path: '/show/:name', + component: Container, }, { - path: '/container/:name', - component: Container, + path: '/new', + component: Update, + }, + { + path: '/update/:name', + component: Update, }, ], }) diff --git a/frontend/views/Home.vue b/frontend/views/Home.vue index ee61145..cbdeb42 100644 --- a/frontend/views/Home.vue +++ b/frontend/views/Home.vue @@ -1,5 +1,5 @@