Try to import app.css directly in app.js
Then only input app.js in vite config and in app.blade
I just uploaded my website to the server and I am getting this error.
Checking to see if the file is there, I can confirm it is.
@Randy_Johnson If you add resources/css/app.css with @vite(['resources/css/app.css','resources/js/app.js']) to your app.blade file you also have to add it to the input in your vite config.
export default defineConfig({
plugins: [
laravel({
input: ['resources/js/app.jsx', 'resources/css/app.css'],
refresh: true,
}),
react(),
],
});
Please or to participate in this conversation.