Skip to content

Commit

Permalink
删除 DEV 页面
Browse files Browse the repository at this point in the history
  • Loading branch information
imsfc committed Sep 20, 2024
1 parent f23c0de commit 98fb367
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 577 deletions.
21 changes: 0 additions & 21 deletions src/router/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,25 +17,4 @@ const router = createRouter({
],
})

if (import.meta.env.DEV) {
router.addRoute({
path: '/dev',
component: Layout,
children: [
{
path: 'items',
component: () => import('@/views/dev/ItemsView'),
},
{
path: 'buildings',
component: () => import('@/views/dev/BuildingsView'),
},
{
path: 'recipes',
component: () => import('@/views/dev/RecipesView'),
},
],
})
}

export default router
122 changes: 0 additions & 122 deletions src/views/dev/BuildingsView.tsx

This file was deleted.

123 changes: 0 additions & 123 deletions src/views/dev/ItemsView.tsx

This file was deleted.

Loading

0 comments on commit 98fb367

Please sign in to comment.