Next.js Discord

Discord Forum

I cannot get export without using "generateStaticParams()"

Answered
Mini Satin posted this in #help-forum
Open in Discord
Original message was deleted.
Answered by riský
Output export creates html pages that you can host staticly (and not with the next server, so you don't get dynamic abilities)
View full answer

6 Replies

Mini Satin
i tried revalidatepath, but same thing, the likes are not increased
Can I ask how you want dynamic features (like count), and a static page?
@riský Can I ask how you want dynamic features (like count), and a static page?
Mini Satin
I don't quite understand what you said. Could you be a little more specific?
Output export creates html pages that you can host staticly (and not with the next server, so you don't get dynamic abilities)
Answer
@riský Output export creates html pages that you can host staticly (and not with the next server, so you don't get dynamic abilities)
Mini Satin
Sorry, you are right. I am just learning Next.js. How can I deploy my site to a host without using "output: 'export'"?
Just use normal build and start? (Idk what your host is)