-
Notifications
You must be signed in to change notification settings - Fork 26.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pages in sub-directory not working correctly #1958
Comments
Just tried the same structure and it's working for me. I develop on OSX, this is a working demo https://weird-xhvwfohmca.now.sh you can see the code at https://weird-xhvwfohmca.now.sh/_src can you try to see if my code works on your windows machine? just to see if this is a windows-related issue |
@impronunciable thank you for your reply. Unfortunately, using your code, the same problem still persist in my Windows machine. I tried both npm and yarn but nothing changed. I've also tried many next.js repos as well but none seem to works. Details:
|
@tsupol @impronunciable I'm pretty sure Arunoda fixed this in #1930. |
It has not been released yet :) |
@timneutkens I'm really looking forward to it. thank you guys. |
I'm closing this 👍 The next release it'll be there 🙌 |
If I create a folder in /pages and put a .js file there like this
By using Link with href="/auth/login" it won't even navigate on client-side and if you call it from the server-side it won't render correctly.
Everything works perfectly fine if I move the file directly to the /pages folder.
Any help or explanation would be appreciated.
I'm on Windows by the way.
The text was updated successfully, but these errors were encountered: