[Vuejs]-Change webpack generated external IP

0πŸ‘

I might try browser-sync-webpack-plugin. You can set up the proxy and the host which is the ip you want to change.

0πŸ‘

I haven’t used Browsersync, but in webpack you can modify the config to use host:

host: 192.168.1.101

https://webpack.js.org/configuration/dev-server/#devserver-host

Leave a comment