Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

Jukka's avatar
Level 1

How to develop laravel + vue not in a localhost?

I have virtual ubuntuserver with vmware that is 192.168... And It's running on top of windows 7 I also use it in the macbook and it works ok with all the php development

Now I'd like to learn to make vue with components, so live reload is needed. How do I accomplish this ?

When running npm run hot i get

「wds」: Project is running at http://0.0.0.0:8080/ 「wds」: webpack output is served from http://0.0.0.0:8080/ 「wds」: Content not from webpack is served from /var/www/financestats/public 「wds」: 404s will fallback to /index.html

and i can go to http://192.168.75.129:8080/ but it says cannot get /

from the apache it works with my custom hosts-setting : http://mysite.myhost.com/ and that serves the public folder, but i guess it cannot have live reload trough apache for vue components from there ?

0 likes
1 reply
bugsysha's avatar

Maybe simple tunnel can help to forward ports. I'm not sure what you are using for virtualisation but maybe client is already supporting that feature so you can look through settings for it. If not you can use terminal to create a tunnel.

Please or to participate in this conversation.