我正在从4.2直接升级到5.1并遇到Html和Form类的问题.
我按照升级说明,做了
但我的观点不起作用.我Class HTML does not exist在使用HTML :: router Class html does not exist时使用或在使用link_to_route时获取
我也试过Illuminate\html而不是laravelcollective,我做了一个composer dump-autoload.
完整的错误:
ErrorException in Container.php line 736: Class html does not exist (View: C:\Dev\www\admin\resources\views\clubs\index.blade.php)
ReflectionException in Container.php line 736: Class html does not exist
Run Code Online (Sandbox Code Playgroud)
我错过了什么?
我尝试了每个人的答案,但由于某些原因,他们都没有为我工作.最终我创建了一个全新的laravel应用程序,复制了我的代码然后它开始工作,所以虽然解决了实际问题仍然是一个谜.