Next 13 AppDir + middleware
I tried to create an app with Next 13 and play with the new app dir (beta), but I couldn't make middleware to work. I had no
pages
dir, all pages were rendered correctly but it seems like middleware was not firing.
Is this not yet supported ? I couldn't find anything in the stable or beta docs of Next3 Replies
section about middleware in nextjs beta docs is disabled
there’s a bug where if you don’t have
pages/
directory, middleware doesn’t work
it can be empty, you just need the directory
https://discord.com/channels/966627436387266600/966627439390380064/1038507805247819876
@elefcodes solved?I will let you know, i rolled back to only using pages. I will check it prob today