Closed toniengelhardt closed 3 years ago
Thank you @toniengelhardt
Previously I was disabling the middleware nuxt feature if you didn't have the folder, but that was clearly a mistake.
The next patch won't have this logic and will resolve your issue.
Thanks @loonpwn, appreciate it!
Great module btw!
Describe the bug
Throws a friendly error if the middleware directory doesn't exist.
To Reproduce
Expected behavior
Should work also without middleware dir, if you don't have any middleware there is no need for the directory. Nuxt itself also allows it.
Screenshots