Hacker News new | ask | show | jobs
by julianbuse 1492 days ago
if it helps, you could use middleware in next.js to handle routing to separate folders easier.
1 comments

Middleware won't work if you use "next export" to get a truly static site though, which is by far my preferred mode of operation whenever possible.

This is what I meant when I said "second-class citizen at best".

ah I see. Maybe try the route rewriting in next.conf.js? I think thats what the file is. That might work for static sites.