Skip to content

Commit

Permalink
解説を複数持てるようにした・解説編集画面を追加
Browse files Browse the repository at this point in the history
  • Loading branch information
ZOI-dayo committed Oct 21, 2024
1 parent d3cd808 commit a1928db
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 1 deletion.
10 changes: 9 additions & 1 deletion src/router/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,9 +85,17 @@ const router = createRouter({
component: () => import('@/views/problem/ProblemSubmissionView.vue')
},
{
path: 'editorial',
path: 'editorials',
component: () => import('@/views/problem/ProblemEditorialsView.vue')
},
{
path: 'editorials/:editorialId',
component: () => import('@/views/problem/ProblemEditorialView.vue')
},
{
path: 'editorials/:editorialId/edit',
component: () => import('@/views/problem/ProblemEditorialEditView.vue')
},
{
path: 'edit',
component: () => import('@/views/problem/ProblemEditView.vue')
Expand Down
9 changes: 9 additions & 0 deletions src/views/problem/ProblemEditorialEditView.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<script setup lang="ts"></script>

<template>
<div>
<h2>Problem Editorial Edit</h2>
</div>
</template>

<style scoped></style>
9 changes: 9 additions & 0 deletions src/views/problem/ProblemEditorialsView.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<script setup lang="ts"></script>

<template>
<div>
<h2>Problem Editorials</h2>
</div>
</template>

<style scoped></style>

0 comments on commit a1928db

Please sign in to comment.