Skip to content

Commit ce2121c

Browse files
committed
guidelines: folio: use 'php artisan' not plain 'artisan'
1 parent 348a83d commit ce2121c

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.ai/folio/core.blade.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11

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:
43
- `pages/index.blade.php` → `/`
54
- `pages/profile/index.blade.php` → `/profile`
65
- `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.
87

98
### Folio: New pages & routes
109
- Always create new `folio` pages and routes using `artisan folio:page [name]` following existing naming conventions.

0 commit comments

Comments
 (0)