Next.js Discord

Discord Forum

Static Site with Github Pages

Answered
Cinnamon posted this in #help-forum
Open in Discord
CinnamonOP
I'm working on a website for a local tech conference. We decided on using Next.js, but they really want to use Github Pages to host. I am getting " - error "next export" does not work with App Router. Please use "output: export" in next.config.js https://nextjs.org/docs/advanced-features/static-html-export
" when I push, despite "output: export" being in my config. Not sure where to go from here.
Answered by Cinnamon
Wow, I misspelled output. That'll do it.
View full answer

2 Replies

CinnamonOP
CinnamonOP
Wow, I misspelled output. That'll do it.
Answer