라우터 변경 페이지 변경

This commit is contained in:
ckx6954 2024-12-16 13:39:11 +09:00
parent aea8f19d55
commit c77af5ca2a
4 changed files with 43 additions and 1 deletions

View File

@ -11,7 +11,19 @@ const routes = [
{
path: '/board',
name : 'board',
component: () => import('@v/TheBoard.vue'),
component: () => import('@v/board/BoardList.vue'),
children : [
{
path : "write",
name : 'write',
component : () => import('@v/board/BoardWrite.vue')
},
{
path : "get/:id",
name : 'create',
component : () => import('@v/board/BoardView.vue')
}
]
},
// {
// path: "/login",

View File

@ -0,0 +1,15 @@
<template>
<div class="container-xxl flex-grow-1 container-p-y">
<div class="row">
board
</div>
</div>
</template>
<script setup>
</script>
<style>
</style>

View File

@ -0,0 +1,15 @@
<template>
<div class="container-xxl flex-grow-1 container-p-y">
<div class="row">
board
</div>
</div>
</template>
<script setup>
</script>
<style>
</style>