[英]Laravel Ratchet not reading config file after vendor:publish
[英]Laravel vendor:publish not creating the file
如果文件已經存在,Laravel“ php artisan vendor:publish
”不會從要復制到主項目的包中創建配置文件。 我的問題是我通常更新我的包中的一些配置並運行 vendor:publish 不會將文件復制到主應用程序,因為我之前執行了該命令。
php artisan vendor:publish --help
會顯示命令的幫助信息。 第一個選項是
--force Overwrite any existing files
所以使用
php artisan vendor:publish --force
to ...覆蓋現有文件。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.