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
If the syntax error of some routing files in the routes folder is not resolved, the newly created routing file is not recognized
This use case should identify and automatically create a route, by creating a virtual map that marks the wrong route file and displays it on devtools to indicate that the route exists but is temporarily unavailable. Attempts to recompile when accessing or modifying this route
After you manually modify the automatically generated routing file, the file cannot be automatically repaired and can only be deleted
Although the above two use cases may cover some extreme scenarios, but. In terms of developer friendliness, I think route generation should be as flexible as possible
Regardless of any routing file error, always try to compile and automatically generate files optimistically. For files that cannot be compiled, routes are still generated, but the route is not available
The behavior of the route file automatically created by any incorrect operation should be regenerated, and the same is true for deletion. Each operation checks whether the route file exists. If the route file is not automatically created, the modified timestamp and the latest timestamp maintained in the memory are checked. If the two are inconsistent, it is considered that the route file has been modified manually and the route file is generated again
Your Example Website or App
无
Steps to Reproduce the Bug or Issue
无
Expected behavior
无
Screenshots or Videos
无
Platform
无
Additional context
无
The text was updated successfully, but these errors were encountered:
Which project does this relate to?
Router
Describe the bug
The scene is as follows
This use case should identify and automatically create a route, by creating a virtual map that marks the wrong route file and displays it on devtools to indicate that the route exists but is temporarily unavailable. Attempts to recompile when accessing or modifying this route
Although the above two use cases may cover some extreme scenarios, but. In terms of developer friendliness, I think route generation should be as flexible as possible
Regardless of any routing file error, always try to compile and automatically generate files optimistically. For files that cannot be compiled, routes are still generated, but the route is not available
The behavior of the route file automatically created by any incorrect operation should be regenerated, and the same is true for deletion. Each operation checks whether the route file exists. If the route file is not automatically created, the modified timestamp and the latest timestamp maintained in the memory are checked. If the two are inconsistent, it is considered that the route file has been modified manually and the route file is generated again
Your Example Website or App
无
Steps to Reproduce the Bug or Issue
无
Expected behavior
无
Screenshots or Videos
无
Platform
无
Additional context
无
The text was updated successfully, but these errors were encountered: