正在加载视频...

视频加载失败

Easily view localhost on your phone or share localhost with someone ✨

32,552 次观看 • 2 年前 •via X (Twitter)

10 条评论

echo $iamcaptain 🇧🇪; 的头像
echo $iamcaptain 🇧🇪;2 年前

Can same thing work for a PHP project?

dillion - deeecode 的头像
dillion - deeecode2 年前

basically anything "hosted on a port"...vscode would expose that port publicly, so it doesn't matter what tool/framework you're using

️️️️ ️️ 𒅃 ️️️️ ️ 的头像
️️️️ ️️ 𒅃 ️️️️ ️2 年前

you’re awesome, dillion! learned this some days ago.

Rubi 的头像
Rubi2 年前

you don't have to transfer your data to internet, you can still have local access but with nice https name, and this .local address is accessible from any device on the same Wifi/Lan network

Mazi Juls 的头像
Mazi Juls2 年前

Nice, This is quite handy. Thanks !!! But wait - is that Microsoft edge on Mac??? this makes me so uneasy.

dillion - deeecode 的头像
dillion - deeecode2 年前

haha...no that's Arc...what problem do you have with microsoft edge?

Michael Essiet 的头像
Michael Essiet2 年前

If you don’t use vscode you can also do this by adding the —host argument to most bundlers/file servers, or you could also use ngrok for cases when the other device is not on the same network

I B U K U N 的头像
I B U K U N2 年前

nicee

dvmikun😁 的头像
dvmikun😁2 年前

Damn, downloaded ngrok just to do this last week, didn't even know it was a native feature in vs code

PyDev_Chuks 的头像
PyDev_Chuks2 年前

This is Awesome 🔥, Thank you for sharing.

相关视频