我试图跟踪这个教程,但是我得到了一个错误消息:
View [projects.index] not found.当我访问/projects url时。这是我的资源/观点的结构:
errors [folder]
vendor [folder]
create.blade.php
show.blade.php
welcome.blade.php怎么啦?
发布于 2015-12-07 01:28:40
我无法打开您的链接,但是您的错误是因为您的视图文件夹中没有文件index.blade.php。
只要在视图文件夹中创建新文件index.blade.php,它就能工作了。

发布于 2015-12-07 01:28:27
如果以这种方式调用,则必须在index.php文件夹中包含一个projects文件。
所以它是view('folder.file'),除了.blade.php部分。
https://stackoverflow.com/questions/34124965
复制相似问题