forked from rajun/ar-test
refactor: reorganize routes with admin module, asset preview, AR viewer, and 404 page
This commit is contained in:
parent
d8e740011a
commit
1636beb629
@ -1,7 +1,11 @@
|
||||
import { type RouteConfig, index, route } from '@react-router/dev/routes';
|
||||
|
||||
export default [
|
||||
index('routes/dashboard.tsx'),
|
||||
route('login', 'routes/login.tsx'),
|
||||
route('ar/:id', 'qr-ar/ar-viewer.tsx'),
|
||||
index('routes/admin/dashboard.tsx'),
|
||||
route('login', 'routes/admin/login.tsx'),
|
||||
route('preview/:id', 'routes/admin/asset-preview.tsx'),
|
||||
|
||||
route('ar/:id', 'routes/ar/ar-viewer.tsx'),
|
||||
|
||||
route('*', 'routes/not-found.tsx'),
|
||||
] satisfies RouteConfig;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user