Update project and dist
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
# Build estático (`dist`)
|
||||
|
||||
Este frontend está configurado como SPA de Vite + TanStack Router.
|
||||
|
||||
## Generar build
|
||||
|
||||
```bash
|
||||
npm ci
|
||||
npm run build
|
||||
```
|
||||
|
||||
La salida de producción se genera en:
|
||||
|
||||
```text
|
||||
dist/
|
||||
```
|
||||
|
||||
La aplicación conserva la ruta base:
|
||||
|
||||
```text
|
||||
/cotizador-wmc/
|
||||
```
|
||||
|
||||
Para servir rutas internas como `/cotizador-wmc/chat` directamente desde el navegador,
|
||||
el servidor web debe usar fallback SPA hacia `/cotizador-wmc/index.html` cuando el archivo solicitado no exista.
|
||||
Reference in New Issue
Block a user