[英]Symfony 3 equivalents in Symfony 4
What is Symfony 3 view equivalent to in Symfony 4? Symfony 3视图相当于 Symfony 4 中的什么? I am building a basic todo list app using Symfony 4. I cannot find the resources directory in Symfony 4 to create a view.我正在使用 Symfony 4 构建一个基本的待办事项列表应用程序。我在 Symfony 4 中找不到资源目录来创建视图。
In general:一般来说:
Symfony 3's .../app/Resources/views
directory is replaced by Symfony 4's .../templates
. Symfony 3 的.../app/Resources/views
目录被 Symfony 4 的.../templates
取代。 If there are other directories in .../app/Resources
the will most likely be replaced by directories in .../templates/bundles
.如果.../app/Resources
有其他目录,则很可能会被.../templates/bundles
目录替换。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.