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
I can look at the .output directory and there are no routes prerendered for products. I'm not sure if this is supposed to behave this way or if I need to use some npm package like a glob, but I am confused why the /products/** is not causing both routes to be prerendered when running npm run build. I don't want to run npm run generate at the moment, and this does work if I list each product page individually but I wanted a more dynamic way to do this.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
If I have a homepage with two routes
And if I set my
nuxt.config.ts
and runnpm run build
I can look at the
.output
directory and there are no routes prerendered for products. I'm not sure if this is supposed to behave this way or if I need to use some npm package like a glob, but I am confused why the/products/**
is not causing both routes to be prerendered when runningnpm run build
. I don't want to runnpm run generate
at the moment, and this does work if I list each product page individually but I wanted a more dynamic way to do this.Beta Was this translation helpful? Give feedback.
All reactions