You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There was no problem with the project two days before. Today, after the project deployment, I found that the style of the Unocss was not applied. Try to reduce the NUXT. The UNOCSS version was reduced to the last week. Solve, I found the key code, but I don’t know how to solve it!Is there a friend with the same problem, how can it be solved?
Describe the bug
生产环境样式丢失,以及控制台每页都报错:Failed to load resource: the server responded with a status of 404 (Not Found)
The production environment style is missing and every page of the console reports an error:Failed to load resource: the server responded with a status of 404 (Not Found)
开发环境正常,控制台没报错
The development environment is normal and the console did not report an error.
Additional context
No response
Logs
No response
The text was updated successfully, but these errors were encountered:
The issue here is that not all your pages were prerendered so the payloads for those pages are returning 404s. You can disable payload extraction entirely with:
Environment
"nuxt": "^3.6.0",
"@unocss/nuxt": "^0.51.13",
Reproduction
前两天的项目一点问题没有,今天项目部署完发现 unocss 的样式没应用上,试着降了nuxt,unocss 版本降回上个礼拜一样,还是没有解决,控制台报payload 相关的错,请问该如何解决呀?找到了关键性代码,但是还不知道怎么解决,请问有相同问题的小伙伴吗,是怎么解决的呢?
There was no problem with the project two days before. Today, after the project deployment, I found that the style of the Unocss was not applied. Try to reduce the NUXT. The UNOCSS version was reduced to the last week. Solve, I found the key code, but I don’t know how to solve it!Is there a friend with the same problem, how can it be solved?
Describe the bug
生产环境样式丢失,以及控制台每页都报错:Failed to load resource: the server responded with a status of 404 (Not Found)
The production environment style is missing and every page of the console reports an error:Failed to load resource: the server responded with a status of 404 (Not Found)
开发环境正常,控制台没报错
The development environment is normal and the console did not report an error.
Additional context
No response
Logs
No response
The text was updated successfully, but these errors were encountered: