Next.js Discord

Discord Forum

can you deploy next.js on neocities / github pages?

Answered
Masai Lion posted this in #help-forum
Open in Discord
Masai LionOP
I am building a website for a small startup / business.

16 Replies

You can deploy it on github pages, with static build
Answer
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
Masai LionOP
static fetching is possible right?
Yes, if it has static values
Masai LionOP
fetching from an api at build time
(or cms)
yup
Masai LionOP
thanks