6 months ago

How to develop laravel + vue not in a localhost?

Posted 6 months ago by Jukka

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 「wds」: webpack output is served from 「wds」: Content not from webpack is served from /var/www/financestats/public 「wds」: 404s will fallback to /index.html

and i can go to 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 ?

Please sign in or create an account to participate in this conversation.