Spaces:
Configuration error
Configuration error
Download src/App.jsx from CPISTO/TARSTHENEXT: direct link, hf CLI and curl.
- Browser
- Download file 493 Bytes
-
https://huggingface.co/spaces/CPISTO/TARSTHENEXT/resolve/main/src/App.jsx
- Command line
-
hf download hf://spaces/CPISTO/TARSTHENEXT/src/App.jsx
-
curl -L -o App.jsx https://huggingface.co/spaces/CPISTO/TARSTHENEXT/resolve/main/src/App.jsx
493 Bytes
| import { useState } from 'react' | |
| import { BrowserRouter, Routes, Route } from 'react-router-dom' | |
| import Login from './pages/Login' | |
| import Dashboard from './pages/Dashboard' | |
| import Register from './pages/Register' | |
| export default function App() { | |
| return ( | |
| <BrowserRouter> | |
| <Routes> | |
| <Route path="/" element={<Login />} /> | |
| <Route path="/register" element={<Register />} /> | |
| <Route path="/dashboard" element={<Dashboard />} /> | |
| </Routes> | |
| </BrowserRouter> | |
| ) | |
| } |