Laravel代客不适用于Laravel [英] Laravel Valet not working with Laravel

查看:82
本文介绍了Laravel代客不适用于Laravel的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在尝试使用Valet,但发现了一个问题.我创建了一个新的Laravel 5.2项目,但无法访问公共资产文件.

I have been trying to use Valet but I found a problem. I created a new Laravel 5.2 project but I can't access the public assets files.

我唯一能告诉的信息就是这个错误: <br /> <b>Notice</b>: Undefined index: extension in <b>/Users/tiagocardoso/.composer/vendor/laravel/valet/cli/drivers/ValetDriver.php</b> on line <b>121</b><br />

The only information I can tell is this error: <br /> <b>Notice</b>: Undefined index: extension in <b>/Users/tiagocardoso/.composer/vendor/laravel/valet/cli/drivers/ValetDriver.php</b> on line <b>121</b><br />

Chrome控制台信息: http://ads.dev/css/app.css net::ERR_BLOCKED_BY_CLIENT

Chrome Console Information: http://ads.dev/css/app.css net::ERR_BLOCKED_BY_CLIENT

推荐答案

Ad Block阻止文件名中包含ads的所有内容.我的想法是ads.dev导致了一切.你启用了吗?

Ad Block blocks anything that includes ads in the filename. My thinking is ads.dev is causing everything. Do you have that enabled?

BLOCKED_BY_CLIENT表示您的浏览器阻止了它们的加载.

BLOCKED_BY_CLIENT means your browser is blocking them from loading.

这篇关于Laravel代客不适用于Laravel的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆