can you deploy next.js on neocities / github pages?
Answered
Masai Lion posted this in #help-forum
Masai LionOP
I am building a website for a small startup / business.
16 Replies
You can deploy it on github pages, with static build
Masai LionOP
does that require pages router?
Nope, it worked in app router for me!
However, you can't use server side functions
or api routes
Masai LionOP
thanks
and you can't do anything database related
@Anay-208 https://nextjs.org/docs/app/building-your-application/deploying/static-exports\
Mark this message as a solution
Masai LionOP
static fetching is possible right?
Yes, if it has static values
Masai LionOP
fetching from an api at build time
(or cms)
Masai LionOP
thanks