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: README.md
+1-6Lines changed: 1 addition & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -59,7 +59,7 @@ Every page in your javascript application is backed by a Twig template which ret
59
59
{{ page('Posts/Index') }}
60
60
```
61
61
62
-
Note: templates are passed element variables (`entry` or `category`) automatically when the route is matched to either element type. If you want to pass the element as a prop automatically to your page component, set the `injectElementAsProp` configuration to `true`.
62
+
Note: templates are passed element variables (`entry` or `category`) automatically when the route is matched to either element type.
63
63
64
64
## Shared Data
65
65
@@ -249,11 +249,6 @@ return [
249
249
'@webroot/dist/assets'
250
250
],
251
251
252
-
/**
253
-
* Whether to inject the route matched element (`entry` or `category`) automatically into the application
254
-
*/
255
-
'injectElementAsProp' => false,
256
-
257
252
/**
258
253
* Whether to takeover all routing and forward to Inertia
259
254
* If set to false, you can use Inertia in parallel to normal twig templates
0 commit comments