会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
古墩古墩
CnBlogs
Home
New Post
Contact
Admin
Subscription
2020年5月19日
nuxt本机运行,如何用ip访问,localhost也可以访问?
为了方便获取本机ip,我们需要安装一个ip插件 npm install --save ip 在server/index.js中: var ip = require('ip'); var myip = ip.address(); // 本机IP consola.ready({ message: `Se
Read More
posted @ 2020-05-19 23:12 古墩古墩
Views(4395)
Comments(0)
Diggs(0)
公告