skyrpex / laravel-nuxt-js

Build a SPA with Laravel and Nuxt.
https://www.npmjs.com/package/laravel-nuxt
MIT License
146 stars 20 forks source link

Host IP #8

Closed sn0rcha closed 5 years ago

sn0rcha commented 5 years ago

Hey There,

Thanks for the module!

How do I get it to listen on any IP (eg 192.168.x.x)? - I can't seem to change it from only serving on 127.0.0.1:8000 for "npm start"?

Cheers, Ben

skyrpex commented 5 years ago

Hello there! 🖖

You can use laravel-nuxt dev --hostname=192.168.x.x. In order to see all of the options, type laravel-nuxt dev -h or laravel-nuxt build -h.

Regards!