Reinforce that SPA routes work with rsx:debug in CLAUDE.dist.md
🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -1070,6 +1070,8 @@ Screenshot presets: mobile, iphone-mobile, tablet, desktop-small, desktop-medium
|
||||
|
||||
Use this instead of manually browsing, especially for SPA pages and Ajax-heavy features.
|
||||
|
||||
**CRITICAL: SPA routes ARE server routes.** The server knows all SPA routes. `rsx:debug` uses Playwright to fully render pages including all JavaScript and SPA navigation. If you get a 404, the route genuinely doesn't exist - check your URL pattern and route definitions. Never dismiss 404s as "SPA routes can't be tested server-side" - this analysis is incorrect.
|
||||
|
||||
### Debugging
|
||||
|
||||
- **rsx_dump_die()** - Debug output
|
||||
|
||||
Reference in New Issue
Block a user