- Service Worker v1.39.0 com estratégias offline-first - Cache-First: imagens, fontes (resposta imediata) - Network-First: chamadas API (dados frescos) - Stale-While-Revalidate: HTML/CSS/JS - Verificação de atualizações a cada 1 hora - Prompt de atualização quando nova versão disponível - manifest.json otimizado: scope, categories, prefer_related_applications - Meta tags iOS: apple-mobile-web-app-capable, black-translucent - Registro automático do Service Worker em main.jsx - Documentação completa: docs/INSTALACAO_iOS.md - Compatível com upgrade futuro para Capacitor (30 min, zero mudanças) Deploy: frontend/dist deployed to 213.165.93.60 |
||
|---|---|---|
| .. | ||
| public | ||
| src | ||
| .gitignore | ||
| deploy.ps1 | ||
| deploy.sh | ||
| eslint.config.js | ||
| index.html | ||
| package-lock.json | ||
| package.json | ||
| README.md | ||
| vite.config.js | ||
React + Vite
This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.
Currently, two official plugins are available:
- @vitejs/plugin-react uses Babel (or oxc when used in rolldown-vite) for Fast Refresh
- @vitejs/plugin-react-swc uses SWC for Fast Refresh
React Compiler
The React Compiler is not enabled on this template because of its impact on dev & build performances. To add it, see this documentation.
Expanding the ESLint configuration
If you are developing a production application, we recommend using TypeScript with type-aware lint rules enabled. Check out the TS template for information on how to integrate TypeScript and typescript-eslint in your project.