No description
- TypeScript 71%
- Vue 28.2%
- Shell 0.3%
- CSS 0.3%
- JavaScript 0.1%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
Every route view is a content-hashed chunk, so a deployment replaces assets/ out from under any tab still running the previous bundle: its next lazy route import 404s and the navigation dies unhandled (seen as GW2SUGGEST-FRONTEND-2 after the beta redeploy removed HomeView-BEm-NkpZ.js; the 5-minute useVersionCheck poll only hints at staleness and cannot cover that window). Recognize the three engine signatures (Chromium "Failed to fetch dynamically imported module", Firefox "error loading dynamically imported module", WebKit "Importing a module script failed.") on both surfaces the failure reaches — router.onError and Vite's vite:preloadError — and reload once onto the fresh bundle. The event is deliberately not preventDefault'ed: swallowing it would make the import resolve undefined instead of propagating the real failure. A sessionStorage stamp throttles recovery to one automatic reload per 10s (further recoveries need a new failing navigation), so a genuinely broken deployment or offline tab cannot reload-loop; storage-blocked contexts degrade to an unguarded reload instead of throwing out of the handler. Fixes GW2SUGGEST-FRONTEND-2 |
||
| .claude | ||
| .vscode | ||
| dev | ||
| e2e | ||
| public | ||
| src | ||
| .env | ||
| .env.sample | ||
| .gitignore | ||
| .prettierignore | ||
| .prettierrc.json | ||
| AGENTS.md | ||
| eslint.config.js | ||
| index.html | ||
| opencode.json | ||
| package-lock.json | ||
| package.json | ||
| playwright.config.ts | ||
| README.md | ||
| tsconfig.app.json | ||
| tsconfig.json | ||
| tsconfig.node.json | ||
| vite.config.ts | ||
| vitest.config.ts | ||
Vue 3 + TypeScript + Vite
This template should help get you started developing with Vue 3 and TypeScript in Vite. The template uses Vue 3 <script setup> SFCs, check out the script setup docs to learn more.
Learn more about the recommended Project Setup and IDE Support in the Vue Docs TypeScript Guide.