This commit is contained in:
吴红兵
2025-12-02 10:37:49 +08:00
commit 1f645dad3e
1183 changed files with 147673 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
---
description: Best practices for Vue Router 4 configuration and usage
globs: src/router/*.ts
alwaysApply: false
---
- Use named routes for better maintainability
- Implement route-level code-splitting for performance
- Use navigation guards for route protection and redirection
- Leverage route meta fields for additional route information