From 2f6039a81b1cec072e95ecb5ef556debb2e439fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samuel=20=C5=A0tancl?= Date: Sun, 8 Aug 2021 18:22:04 +0200 Subject: [PATCH] Mention layout configuration in install instructions (fix #2) --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index fa93def..6e4eb86 100644 --- a/README.md +++ b/README.md @@ -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