router
router copied to clipboard
[File based router] Catch all route (*) dir/file cannot be created on Windows OS
Describe the bug
It seems that cannot create a file dir named * or a file named *.tsx on Windows OS. So we cannot clone the repo which contains these on Windows. It violates the naming rules of Windows.
Router structure below:
Your Example Website or App
Maybe no need to reproduce.
Steps to Reproduce the Bug or Issue
Maybe description is enough.
Expected behavior
Catch all route should be working on Windows.
Screenshots or Videos
No response
Platform
- OS: Windows
Additional context
No response
Use the dollar sign instead: $.tsx