mirror of
https://github.com/tiennm99/loto.git
synced 2026-09-03 12:21:53 +00:00
chore: sync docs with single-page app, fix jsconfig
- docs: drop stale /master route refs (system-architecture page flow, client-only file list, basePath profiles; pdr architecture section + acceptance items; codebase-summary mounted-on notes; code-standards link example; deployment-guide redirect explanation) - roadmap: drop "Currently Implemented Features" section (lives in git log + plans + pdr/codebase-summary) - jsconfig: extend .svelte-kit/tsconfig.json (clears SvelteKit warning, picks up generated paths/aliases)
This commit is contained in:
@@ -127,8 +127,8 @@ function randomANumberInRow(weights) {
|
||||
|
||||
## Internal Navigation
|
||||
|
||||
- Use `import { base } from '$app/paths'` for internal links to preserve basePath across deployments.
|
||||
- Example: `<a href="{base}/master">Host page</a>` works on root (`""`) and subpath (`/loto`) equally.
|
||||
- Use `import { base } from '$app/paths'` for internal links/asset URLs to preserve basePath across deployments.
|
||||
- Example: `<img src="{base}/icon.svg">` resolves on both root (`""`) and subpath (`/loto`) builds.
|
||||
|
||||
## Import Organization
|
||||
|
||||
|
||||
Reference in New Issue
Block a user