forked from rajun/ar-test
12 lines
355 B
TypeScript
12 lines
355 B
TypeScript
import { type RouteConfig, index, route } from '@react-router/dev/routes';
|
|
|
|
export default [
|
|
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;
|