lyeuhm's avatar

Fresh breeze installation not working

I uploaded a video of what I'm doing from start to finish in case I'm missing something super obvious: /watch?v=qjG6cvp4jMQ

When installing Breeze on a fresh Laravel 9 installation on WSL 2 (Ubuntu), for some reason none of the CSS etc is being loaded. At the top of the login and register page it just shows "@vite( 'resources/css/app.css' 'resources/js/app.js' )", registering, logging in etc. does work though.

I've tried :

  • php artisan view:clear
  • php artisan optimize:clear,
  • npm run build
  • npm install [email protected] --save-exact

I even rebuilt the entire WSL image in case I'd somehow messed something up, using latest version of node.js & npm

0 likes
2 replies
Snapey's avatar

npm run build should create css file in the public/build folder. Check if it created.

Make sure you are serving the public folder and therefore you cannot see public in the URL of your page.

1 like
lyeuhm's avatar

I was literally about to reply and say I found out what the issue was as soon as I posted this, annoyingly. I don't know why but when I installed Laravel, it's for some reason, installed Laravel 8 and it's the one thing I didn't even consider checking first. Annoying!

Thank you for replying so fast though, I was expecting to have to wait until tomorrow lol.

Please or to participate in this conversation.