You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have been working on a rather large NextJS application and wonder if this discussion has come up before. I have a lot of different pages, and am interested in moving my API routes outside of the pages directory to help better organize the project. Is there any way currently to do this, perhaps through next.config.js?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi all,
I have been working on a rather large NextJS application and wonder if this discussion has come up before. I have a lot of different pages, and am interested in moving my API routes outside of the
pages
directory to help better organize the project. Is there any way currently to do this, perhaps throughnext.config.js
?Beta Was this translation helpful? Give feedback.
All reactions