Collect the GET routes to pre-render from the route definitions.
This is what makes SSG zero-config: the routes the app already declares (the same
definitions the router scans for lazy loading) become the pre-render set, so the user
never restates them. A definition contributes every one of its GET paths (a route may declare
several aliases).
A parameterized path is expanded when params declares values for its segments, which matters
most for a parameterized global prefix: without it, one :lang on the router prefix puts a
dynamic segment on every route and auto-discovery collapses to nothing. A path whose segments
have no declared values is still skipped, but reported through onSkipped instead of vanishing.
Collect the GET routes to pre-render from the route definitions.
This is what makes SSG zero-config: the routes the app already declares (the same definitions the router scans for lazy loading) become the pre-render set, so the user never restates them. A definition contributes every one of its GET paths (a route may declare several aliases).
A parameterized path is expanded when
paramsdeclares values for its segments, which matters most for a parameterized global prefix: without it, one:langon the router prefix puts a dynamic segment on every route and auto-discovery collapses to nothing. A path whose segments have no declared values is still skipped, but reported throughonSkippedinstead of vanishing.