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: docs/templates/index.mdx
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -24,6 +24,8 @@ You would do this by creating a file at `user/templates/blog.group/index.html.tw
24
24
25
25
[Learn more about using Twig in ExpressionEngine from our guide](../guides/using-twig-templates.md).
26
26
27
+
<iframewidth="100%"style={{"aspect-ratio": "16 / 9"}}src="https://www.youtube.com/embed/rFdjkGSB5bI"title="How to use Twig and Blade in ExpressionEngine"frameborder="0"allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"referrerpolicy="strict-origin-when-cross-origin"allowfullscreen></iframe>
28
+
27
29
## Twig and Blade in Laravel
28
30
29
31
If you manage your templates inside your Laravel application you will just need to create files in your `resources/views` folder with either a `.twig` or a `.blade.php` extension and include them with the `view()` helper. The Laravel documentation is a great resource for [learning more about views](https://laravel.com/docs/9.x/views#introduction).
0 commit comments