Here are what I do:
- get my ip address by typing
ipconfig getifaddr en0
, and the terminal shows:
so I found my ip address is 192.168.1.3
, right?
-
I change my package.json to this:
-
and I run
npm run dev
, the vite shows me:
- BUT!!! I type
192.168.1.3:5173
on my chrome, it doesn’t work, why??