Spaces:
Running
Running
Download src/App.js from IngStrange/undefined: direct link, hf CLI and curl.
- Browser
- Download file 701 Bytes
-
https://huggingface.co/spaces/IngStrange/undefined/resolve/main/src/App.js
- Command line
-
hf download hf://spaces/IngStrange/undefined/src/App.js
-
curl -L -o App.js https://huggingface.co/spaces/IngStrange/undefined/resolve/main/src/App.js
701 Bytes
| ```javascript | |
| import React from 'react'; | |
| import { BrowserRouter as Router, Routes, Route } from 'react-router-dom'; | |
| import Dashboard from './pages/Dashboard'; | |
| import Apps from './pages/Apps'; | |
| import Users from './pages/Users'; | |
| import NewApp from './pages/NewApp'; | |
| import Login from './pages/Login'; | |
| import './App.css'; | |
| function App() { | |
| return ( | |
| <Router> | |
| <Routes> | |
| <Route path="/" element={<Login />} /> | |
| <Route path="/dashboard" element={<Dashboard />} /> | |
| <Route path="/apps" element={<Apps />} /> | |
| <Route path="/users" element={<Users />} /> | |
| <Route path="/new-app" element={<NewApp />} /> | |
| </Routes> | |
| </Router> | |
| ); | |
| } | |
| export default App; | |
| ``` |