[英]webpack.mix.js is missing from my new Laravel projects
我是 Laravel 的新手,我遇到了一個問題,當我使用laravel new or the
composer create-project laravel/laravel commands, there will be no webpack.mix.js file created into my project. When the creation is finished there is info that
commands, there will be no webpack.mix.js file created into my project. When the creation is finished there is info that
。`。 我不知道如何解決它。
我正在使用 Windows 10 和 PHP 8.1.11 版本。
我嘗試運行composer update
並嘗試對這個問題做一些修復: 我的 node_modules 中沒有 webpack.mix.js ,但它們都沒有幫助。
也許是時候學習如何使用Laravel vite
。
或者,如果你想遷移到 laravel mix,請在此處查看:
https://github.com/laravel/vite-plugin/blob/main/UPGRADE.md#migrating-from-vite-to-laravel-mix
也檢查這個問題:
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.