Segui os passos para preparar o npm run mix.
Ao rodar no terminal aparece isso:
![]( )
package.json
{ "private": true, "type": "module", "scripts": { "dev": "vite", "build": "vite build", "mix": "mix" }, "devDependencies": { "axios": "^1.1.2", "laravel-mix": "^6.0.49", "laravel-vite-plugin": "^0.8.0", "vite": "^4.0.0" }, "dependencies": { "bootstrap": "^5.3.2" } }
webpack.mix.js:
const mix = require('laravel-mix');
mix .sass('resources/sass/app.scss', 'public/css') .js('resources/js/app.js', 'public/js');