Skip to content

Commit acc1a6f

Browse files
committed
guidelines: laravel: use named routes and route()
1 parent 3ea0d6a commit acc1a6f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.ai/laravel/core.blade.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,3 +30,6 @@
3030

3131
## Vite Error
3232
- If you receive an "Illuminate\Foundation\ViteException: Unable to locate file in Vite manifest" error, you can run `npm run build` or ask the user to run `npm run dev` or `composer run dev`.
33+
34+
## URL Generation
35+
- When generating links to other pages, always prefer named routes and the `route()` function.

0 commit comments

Comments
 (0)