Dynamic, SSR page
This is a dynamic (SSR) page in apps/server/src/pages/dynamic.astro
.
URL (try query params): https://turbo-hybrid-astro-on-vercel.vercel.app/dynamic
Some random number: 637.1705516488483
Preact Component example:
ShowcaseComponent (Preact) from packages/preact-components: works!
Packages can also use .env: [value from .env]
Tech demo pages (SSR, SSG)
-
Homepage →
Homepage (SSG)
-
Welcome page →
Welcome page (getStaticPaths(); SSG)
-
CV page →
Resume page (getStaticPaths(); SSG)
-
Dynamic page →
SSR rendered page, uses query params (SSR)
-
Admin login API endpoint →
API endpoint, uses env vars, returns JSON. Play with the query params.
-
Static API endpoint →
Statically pre-generated data output. API endpoint, using getStaticPaths().