Laravel Jetsream个人资料页面未加载新的安装
我已经完成了Laravel Jetstream的全新安装。
在完成Jetstream(惯性)设置过程中概述的所有步骤后,使用“ PHP Artisan Serve”命令启动了项目。我可以导航到正确显示的仪表板页面。
但是,当我单击屏幕上右上方的新创建的用户时,然后选择“配置文件”时,个人资料页面不会呈现。
在我的控制台视图中,我会看到以下错误:
未被发现(在承诺中)错误:Ziggy错误:路由'verification.send'不在路由列表中。
我没有对路线进行任何更改,因为安装新项目。
有人知道是什么原因导致了这一点,请问如何解决?
I have performed a fresh install of Laravel Jetstream.
Upon completing all the steps outlined in the Jetstream (Inertia) set up process, the project starts up fine using the 'php artisan serve' command. I can navigate to the Dashboard page which displays properly.
However, when I click on the newly created user in the top-right of the screen then select 'Profile', the profile page does not render.
Within my console view I see the following error:
Uncaught (in promise) Error: Ziggy error: route 'verification.send' is not in the route list.
I have not made any changes to the routes since installing the new project.
Does anyone have any idea what is causing this and how to fix it please?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
这似乎是一个喷气式错误。如果您不想启用电子邮件验证。
转到File
updateProfileInformationform.php
在Resources/js/pages/profile/partials中,您会找到
必须添加
该 行的行已启用。
那么整个
div
应该看起来像这样It seems like a Jetstream bug. If you don't wanna enable Email Verification.
Go to the file
UpdateProfileInformationForm.php
in resources/js/Pages/Profile/PartialsYou'll find this line
You have to add
inside that
div
to check if the email verification is enabled.Then that whole
div
should looks like this发生错误是因为重新发送电子邮件验证的链接已在配置文件视图中添加。 来解决错误
您可以通过在
config/forty.php
中启用或简单地删除“单击此处重新介绍验证电子邮件” 。个人资料页面上的链接。The error occurs because a link to resend the email verification has been added in the profile view. You can fix the error by enabling
in
config/forty.php
or simply removing the "Click here to re-send the verification email." link on the profile page.