-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ssr是不是重复请求了 #2
Comments
我试了一下目前的rc12。封装了一个fetch是可以正常单边正常调用 |
更新到rc12以后,tailwind CSS 在开发的时候就无法热更新css了,需要把打包方式从vite修改成webpack才行,有点坑了 |
等我回头试试请求可以省掉不能,rc11中tailwind就不能热更新了 |
不能热更新这个问题,是个bug吧,我换成unocss也是无法进行热更新 |
我rc11,也不能热更新 |
我升级到rc12后,使用unocss,终于可以热更新了,css的语法规则依旧是使用tailwind。 |
不要升级rc12,我升级rc12后,部署生产环境,使用Nginx反向代理,访问变得很慢,但是如果直接通过端口访问没有这个问题。降级到rc11也没有这个问题。 |
那我还是不要升级了 |
@xuxinyuancode
|
是因为nuxt 3 rc12中,默认开启了103状态码(103 early hints ),但是Nginx目前还不支持这个状态码,所以才会导致这个问题出现,目前的解决方案是在Nuxt配置文件中,将 |
103 early hints详解:click on me |
实在是太新了 |
rc版本不是很稳定,每个版本都有不同的bug |
如上图所示,刷新的情况下是不是不应该在次请求接口
The text was updated successfully, but these errors were encountered: