How to test nuxt app on another device?

In Vue-CLI when starting dev server, receives a second address that you can access from another device (through the LAN, of course) and test the build on a different device.

In Nuxt-build this, why-that, no.
Is it possible to configure and how?
March 23rd 20 at 19:35
2 answers
March 23rd 20 at 19:37
To configure the host. In the manual there is an example
Add in
"scripts" : {
 "dev" : "HOST = nuxt" ,

You can try to replace the HOST on your web address. for example something like this
March 23rd 20 at 19:39
Gaining ifconfig get your ip, port and so you know, then open on another device at ip:port. If not closed by firewall etc., it will work. Sobsno, Vue Kli does the same thing, just finds out the local ip and it adds the port.

Find more questions by tags Vue.jsWebpack