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
Copy file name to clipboardExpand all lines: .ai/folio/core.blade.php
+2-3Lines changed: 2 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -1,10 +1,9 @@
1
1
2
-
- Laravel Folio is a file based router. With Laravel Folio, generating a route becomes as effortless as creating a Blade template within the correct directory.
3
-
i.e. Pages are in `resources/views/pages/`. The file structure determines routes:
2
+
- Laravel Folio is a file based router. With Laravel Folio, a new route is creatted for every Blade file within the correct directory. i.e. `Pages` are usually in in `resources/views/pages/` and the file structure determines routes:
4
3
- `pages/index.blade.php` → `/`
5
4
- `pages/profile/index.blade.php` → `/profile`
6
5
- `pages/auth/login.blade.php` → `/auth/login`
7
-
- List available Folio routes using `artisan folio:list` or using Boost's `list-routes` tool.
6
+
- List available Folio routes using `php artisan folio:list` or using Boost's `list-routes` tool.
8
7
9
8
### Folio: New pages & routes
10
9
- Always create new `folio` pages and routes using `artisan folio:page [name]` following existing naming conventions.
0 commit comments