gpt4 book ai didi

No publishable resources for tag [jetstream-views](没有可发布的标记资源[Jetstream-Views])

转载 作者:bug小助手 更新时间:2023-10-25 18:25:19 39 4
gpt4 key购买 nike



When I run "php artisan vendor:publish --tag=jetstream-views" the results "INFO No publishable resources for tag [jetstream-views]", is there any other ways to do this? Is there any other syntax that is similar?

当我运行“php artisan vendor:Publish--tag=jetstream-view”结果“Info No Publable Resources for tag[jetstream-views]”时,有没有其他方法可以做到这一点?有没有其他类似的语法?


When I run "php artisan vendor:publish --tag=jetstream-views", it should appear like this:
INFO Publishing [jetstream-views] assets.
Copying directory [vendor/laravel/jetstream/resources/views] to [resources/views/vendor/jetstream] DONE

当我运行“php artisan vendor:Publish--tag=jetstream-views”时,它应该如下所示:信息发布[jetstream-views]Assets。将目录[Vendor/laravel/jetstream/Resources/views]复制到[Resources/Views/Vendor/Jetstream]完成


更多回答
优秀答案推荐

As I see it, in the latest version, there's no need to use php artisan vendor:publish --tag=jetstream-views anymore because when you install Jetstream, the required views will be copied to the resources/js/Pages/ directory (https://jetstream.laravel.com/concept-overview.html).

在我看来,在最新的版本中,不再需要使用php artianVendor:PUBLISH--TAG=JETSTREAM-VIEWS,因为当您安装JetStream时,所需的视图将被复制到资源/js/Pages/目录(https://jetstream.laravel.com/concept-overview.html).


If, for example, you need to modify the login page, simply make your changes in resources/js/Pages/Auth/Login.vue and then run the npm run build command.

例如,如果您需要修改登录页面,只需在Resources/js/Pages/Auth/Login.vue中进行更改,然后运行npm run build命令。


If you need the php artisan vendor:publish --tag=jetstream-views command for other purposes, please let me know.

如果你需要php artisan vendor:publish --tag=jetstream-views命令用于其他目的,请告诉我。



Re-install Jestream using: composer require laravel/jetstream
php artisan jetstream:install

使用以下命令重新安装Jestream:Composer需要laravel/jetstream php artisan jetstream:Install


更多回答

39 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com