npm run buildrunsvite buildfollowed bytsx scripts/prerender.ts, which generates static, crawler-friendly HTML for every route (home,/course, every/lesson/:id, every/quiz/:moduleId,/projects, every/project/:id), plussitemap.xmlandrobots.txtindist/.- Set the
APP_URLenvironment variable at build time so canonical URLs, Open Graph tags, and the sitemap use your real domain (e.g.APP_URL=https://pygym.nirimon.site npm run build). It falls back tohttps://pygym.nirimon.site. - App routing is URL-driven (path-based). Each route is pre-rendered to a real file (
dist/lesson/<id>/index.html), so deep links and refreshes work on static hosts without SPA-rewrite rules. - Submit
/sitemap.xmlin Google Search Console and Bing Webmaster Tools.
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|