Static Site with Github Pages
Answered
Cinnamon posted this in #help-forum
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.
" when I push, despite "output: export" being in my config. Not sure where to go from here.
2 Replies
CinnamonOP
CinnamonOP
Wow, I misspelled output. That'll do it.
Answer