1
0
Fork 0
mirror of https://github.com/archtechx/laravel-pages.git synced 2025-12-12 09:54:03 +00:00

Mention layout configuration in install instructions (fix #2)

This commit is contained in:
Samuel Štancl 2021-08-08 18:22:04 +02:00 committed by GitHub
parent 83b6a6d1dc
commit 2f6039a81b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -34,6 +34,8 @@ ArchTech\Pages\Page::routes();
This line will register the routes in a way that ensures that your routes take precedence, and the page route is only used as the final option.
**Important: Before attempting to visit URLs managed by this package, make sure that you configure it to use the correct layout (see the section below). Otherwise you might get an error saying that the view cannot be found.**
## Usage
### Markdown pages