Local url [app_url] not working in Laravel Breeze Vue

Viewed 33

So I tried creating a new project using Breeze+vue in Laravel. I was following this guide: https://www.youtube.com/watch?v=A7UlfXPhsaA

When I finally got vite running on npm run dev without issues, I came across the app_url and I tried to change it to something similar like in that guide (timestamp 6:14 in video), in my case the app_url value was just http://localhost and I changed it to http://grandia.test. And it reflects like that when vite is running:

  VITE v3.1.0  ready in 1031 ms

  ➜  Local:   http://localhost:5173/
  ➜  Network: use --host to expose

  LARAVEL v9.28.0  plugin v0.6.0

  ➜  APP_URL: http://grandia.test

but nothing happens when I go to the site. only the localhost:5173 works properly.

I tried googling for answers but I couldn't find anything helpful.

Could someone help me out what I'm doing wrong or missing? Thanks!

0 Answers
Related