关注
码龄
粉丝数
原力等级 --
被采纳
被点赞
采纳率
小五郎903
2022-05-23 13:26
采纳率: 33.3%
浏览 105
首页
PHP
已结题
laravel项目可以正常运行,但是VS报错其路由Undefined type 'Route'.intelephense(1009)
¥5
laravel
新建好的项目,在别人电脑的VS中运行,路由正常,但是我电脑每次打开都报错,可是我没有开始写任何代码,。
Undefined type 'Route'.intelephense(1009)
没有可用的快速修复
写回答
好问题
提建议
追加酬金
关注问题
微信扫一扫
点击复制链接
分享
邀请回答
3
条回答
默认
最新
相关推荐
更多相似问题
vue搭建
路由
报错
Type
Error: Object(...) is not a function
vue.js
2022-02-09 13:47
回答 3
已采纳
vue-
route
r版本过高,将vue-
route
r版本降低就不会
报错
了 vue搭建
路由
报错
Type
Error: Object(...) is not a functi
我
可以
在一个域中使用
Laravel
api.
php
和web.
php
路由
文件吗?
laravel
php
2018-11-23 09:53
回答 1
已采纳
You can define 2
route
s with t
he
same name in both files and you won't get any errors. However, a
Route
.
php
第335行中的ReflectionExc
ep
tion:Function()不存在,不知道为什么
laravel
php
2017-01-22 19:44
回答 1
已采纳
T
he
only problem I see is that you have to change $users to $
pe
ople in your index() method. Ot
he
r
路由
web.
php
文件中的
Laravel
访问
路由
参数
laravel
php
2018-07-13 17:27
回答 3
已采纳
I think t
he
best thing you can do is a Middleware, for example: public function handle($request,
在web.
php
laravel
中切换
路由
laravel
php
2017-11-02 08:15
回答 2
已采纳
Your problem is that w
he
n you use
Route
::get('/{url}', 'MenuController@menu');
Route
::get('/{name
没有解决我的问题,
去提问