Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Static Build #316

Open
ChrisHinchey opened this issue Oct 6, 2023 · 1 comment
Open

Fix Static Build #316

ChrisHinchey opened this issue Oct 6, 2023 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@ChrisHinchey ChrisHinchey added the bug Something isn't working label Oct 6, 2023
@wdower
Copy link
Contributor

wdower commented Jun 20, 2024

Seems that we should investigate explicitly listing each dynamic route in the site during the build step. We can use a structure like this one:
https://stackoverflow.com/questions/74606668/nuxt3-prerender-all-routes
And swap out the axios calls for GQL queries, the same ones we use to actually populate the pages, to generate URLs to pass off to nuxt3 to generate.

Current assumption is that, since we have no static routes defined, Nuxt is falling back on querying the live Strapi.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants