A
A
Andrew2021-11-03 16:35:53
React
Andrew, 2021-11-03 16:35:53

How to make the NextJS project available to your WiFi network?

Good day. How to share a NextJS project for your network, i.e. the project should be displayed on the phone. Addresses like 0.0.0.0:3000 and 127.0.0.1:3000 do not work. Thank you!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
soulq, 2021-11-03
@wug1

add script "dev" to package.json: "next dev -H 192.168.1.46",

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question