feat: implement frontend login functionality with form handling and error management
This commit is contained in:
@@ -1,7 +1,9 @@
|
||||
import { type RouteConfig, index, route } from '@react-router/dev/routes';
|
||||
import { type RouteConfig, index, layout, route } from '@react-router/dev/routes';
|
||||
|
||||
export default [
|
||||
index('routes/home.tsx'),
|
||||
route('login', 'routes/auth/login.tsx'),
|
||||
layout('routes/layout.tsx', [index('routes/home.tsx')]),
|
||||
// route('init', 'routes/init.tsx'),
|
||||
// catch-all 404 route
|
||||
route('*', 'routes/404.tsx'),
|
||||
] satisfies RouteConfig;
|
||||
|
||||
Reference in New Issue
Block a user