We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 32e0bc3 + 3d951a7 commit 80a9973Copy full SHA for 80a9973
resources/js/Pages/pages.jsx
@@ -148,6 +148,11 @@ export default function () {
148
},
149
]}
150
/>
151
+ <P>
152
+ If you attempt to render a page that does not exist, the response will typically be a blank screen. To prevent this, you may set the {' '}
153
+ <Code>inertia.ensure_pages_exist</Code> configuration option to <Code>true</Code>. The Laravel adapter will then throw an{' '}
154
+ <Code>Inertia\ComponentNotFoundException</Code> when a page cannot be found.
155
+ </P>
156
<H2>Creating layouts</H2>
157
<P>
158
While not required, for most projects it makes sense to create a site layout that all of your pages can extend.
0 commit comments