J
J
jkristo ‣2020-01-23 20:02:03
Vue.js
jkristo ‣, 2020-01-23 20:02:03

How to access by IP in Nuxt?

5e29d1857d673644061452.jpeg
In vue-cli, with the command,
npm run serve
we get, in addition to localhost, a link to the network via IP
How can I do it in Nuxt? To see on devices.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Aetae, 2020-01-24
@jkristo

Nuxt, like Vue itself, uses the same webpack devServer , which in turn uses http-proxy-middleware . This is if you need subtleties.
And so, here is the specific setting for Nuxt: https://nuxtjs.org/faq/host-port/ .

A
Alex, 2020-01-23
@Kozack Vue.js

ngrok.com

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question