我正在遵循一个jetstream教程,里面说,为了添加一些jetstream功能,你应该取消注释一些行,它应该会自动更新。在jetstream.php的这一部分:
/*
|--------------------------------------------------------------------------
| Features
|--------------------------------------------------------------------------
|
| Some of Jetstream's features are optional. You may disable the features
| by removing them from this array. You're free to only remove some of
| these features or you can even remove all of these if you need to.
|
*/
'features' => [
Features::termsAndPrivacyPolicy(),
Features::profilePhotos(),
Features::api(),
Features::teams(['invitations' => true]),
Features::accountDeletion(),
],正如你所看到的,我取消了所有的注释,但是我的jetstream登录页面并没有相应的更新。像profilephoto照片这样的功能是不存在的。这可能是什么原因造成的?
发布于 2021-06-06 04:00:59
我认为每个功能都需要一些步骤,例如Features::profilePhotos()需要运行:
php artisan storage:link这会在你的应用程序中创建一个符号链接来存储这些文件。
请查看文档中每个功能所需的详细信息,您可以从Profile Photo开始。
https://stackoverflow.com/questions/67853321
复制相似问题