Nuxt 초기 세팅 추가
This commit is contained in:
16
pages/admin/posts/[id].vue
Normal file
16
pages/admin/posts/[id].vue
Normal file
@@ -0,0 +1,16 @@
|
||||
<script setup>
|
||||
definePageMeta({
|
||||
layout: 'admin'
|
||||
})
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<section class="admin-post-edit bg-paper p-6">
|
||||
<h1 class="admin-post-edit__title text-3xl font-semibold">
|
||||
글 수정
|
||||
</h1>
|
||||
<p class="admin-post-edit__description mt-4 text-sm text-muted">
|
||||
저장된 글 데이터 연결 후 수정 화면을 구성합니다.
|
||||
</p>
|
||||
</section>
|
||||
</template>
|
||||
16
pages/admin/posts/index.vue
Normal file
16
pages/admin/posts/index.vue
Normal file
@@ -0,0 +1,16 @@
|
||||
<script setup>
|
||||
definePageMeta({
|
||||
layout: 'admin'
|
||||
})
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<section class="admin-posts bg-paper p-6">
|
||||
<h1 class="admin-posts__title text-3xl font-semibold">
|
||||
글 목록
|
||||
</h1>
|
||||
<p class="admin-posts__description mt-4 text-sm text-muted">
|
||||
글 목록 조회는 DB 설계 이후 연결합니다.
|
||||
</p>
|
||||
</section>
|
||||
</template>
|
||||
16
pages/admin/posts/new.vue
Normal file
16
pages/admin/posts/new.vue
Normal file
@@ -0,0 +1,16 @@
|
||||
<script setup>
|
||||
definePageMeta({
|
||||
layout: 'admin'
|
||||
})
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<section class="admin-post-editor bg-paper p-6">
|
||||
<h1 class="admin-post-editor__title text-3xl font-semibold">
|
||||
새 글 작성
|
||||
</h1>
|
||||
<p class="admin-post-editor__description mt-4 text-sm text-muted">
|
||||
마크다운 기반 위지윅 에디터는 다음 단계에서 구현합니다.
|
||||
</p>
|
||||
</section>
|
||||
</template>
|
||||
Reference in New Issue
Block a user