Download frontend/src/main.js from blackmistcode/polysignal_hackaton: direct link, hf CLI and curl.
- Browser
- Download file 561 Bytes
-
https://huggingface.co/blackmistcode/polysignal_hackaton/resolve/main/frontend/src/main.js
- Command line
-
hf download hf://blackmistcode/polysignal_hackaton/frontend/src/main.js
-
curl -L -o main.js https://huggingface.co/blackmistcode/polysignal_hackaton/resolve/main/frontend/src/main.js
561 Bytes
| /** | |
| * Entry point de la aplicacion frontend (SPA Vanilla JS + Vite). | |
| * | |
| * Responsabilidades: | |
| * - Importar hojas de estilo globales (style.css). | |
| * - Lanzar la inicializacion de la aplicacion (app.js → init()). | |
| * - Capturar errores de arranque en consola. | |
| * | |
| * Entorno: | |
| * - Bundler: Vite 7+ (dev server en :5173, proxy a backend en :7860). | |
| * - Build de produccion: genera /dist servido como estatico por Express. | |
| */ | |
| import './style.css' | |
| import { init } from './app.js' | |
| init().catch((err) => console.error('Failed to initialize app:', err)) | |