You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently we only support specifying routes under the x0 key in the package.json. There are scenarios where we want to build all possible routes as part of the build process.
Ideally we'd be able to run a prebuild script which fetches any routes and writes to a json file that x0 can optionally read during a static build. This would handle scenarios where we have dynamic routing data we want static builds for. So, upon build, any current posts would have their respective pages generated.
The text was updated successfully, but these errors were encountered:
Currently we only support specifying routes under the
x0
key in thepackage.json
. There are scenarios where we want to build all possible routes as part of the build process.For example, consider the following:
Ideally we'd be able to run a
prebuild
script which fetches any routes and writes to a json file thatx0
can optionally read during a static build. This would handle scenarios where we have dynamic routing data we want static builds for. So, upon build, any current posts would have their respective pages generated.The text was updated successfully, but these errors were encountered: