This commit is contained in:
2025-11-25 21:22:30 -05:00
parent 72971f6d3e
commit f82ba25160
16 changed files with 860 additions and 100 deletions

View File

@@ -7,6 +7,7 @@ import ParentView from '../components/child/ParentView.vue'
import TaskView from '../components/task/TaskView.vue'
import RewardView from '../components/reward/RewardView.vue'
import TaskEditView from '@/components/task/TaskEditView.vue'
import RewardEditView from '@/components/reward/RewardEditView.vue'
const routes = [
{
@@ -65,6 +66,17 @@ const routes = [
component: RewardView,
props: false,
},
{
path: 'rewards/create',
name: 'CreateReward',
component: RewardEditView,
},
{
path: 'rewards/:id/edit',
name: 'EditReward',
component: RewardEditView,
props: true,
},
],
},
{