Spaces:
Running
Running
Download frontend/src/main.jsx from chesstb/explorer: direct link, hf CLI and curl.
- Browser
- Download file 304 Bytes
-
https://huggingface.co/spaces/chesstb/explorer/resolve/main/frontend/src/main.jsx
- Command line
-
hf download hf://spaces/chesstb/explorer/frontend/src/main.jsx
-
curl -L -o main.jsx https://huggingface.co/spaces/chesstb/explorer/resolve/main/frontend/src/main.jsx
304 Bytes
| import './styles/index.css'; | |
| import { createRoot } from 'react-dom/client'; | |
| import App from './App.jsx'; | |
| const rootEl = document.getElementById('root'); | |
| const sourceRepositoryUrl = rootEl?.dataset.sourceRepositoryUrl || ''; | |
| createRoot(rootEl).render(<App sourceRepositoryUrl={sourceRepositoryUrl} />); | |