Create route structure with __root, index (redirect to /initiatives), initiatives/index (dashboard stub), initiatives/$id (detail stub with type-safe params), and inbox (stub). Add AppLayout with persistent nav header matching wireframe: title, New Initiative button, navigation tabs with active highlighting. Disabled tabs for Agents/Tasks/Settings (out of scope). Replace temporary health-check App with RouterProvider. Route tree auto-generated by TanStack Router Vite plugin.
9 lines
174 B
TypeScript
9 lines
174 B
TypeScript
import { RouterProvider } from '@tanstack/react-router'
|
|
import { router } from './router'
|
|
|
|
function App() {
|
|
return <RouterProvider router={router} />
|
|
}
|
|
|
|
export default App
|