Nuxt 开发环境不支持ip访问?
传送门:https://nuxtjs.org/faq/host-port
开发模式下不支持ip访问?
打开package.json,添加如下配置,然后重启即可。
"config": {
"nuxt": {
"host": "0.0.0.0",
"port": "3000"
}
}


传送门:https://nuxtjs.org/faq/host-port
开发模式下不支持ip访问?
打开package.json,添加如下配置,然后重启即可。
"config": {
"nuxt": {
"host": "0.0.0.0",
"port": "3000"
}
}

