We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
【主要是给后来者指引以解决问题】
自Vben引入UnoCSS后,在较低版本的Chrome(如v87版本)开发时,会出现无限转圈,无法进入登录页
使用 Chrome 87.0.4280.88 Windows x64版,运行最新代码即可
在查阅UnoCSS仓库后找到issue
UnoCSS
hmrTopLevelAwait
在Vben工程的internal/vite-config/src/config/common.ts文件增加:
internal/vite-config/src/config/common.ts
plugins: [ UnoCSS({ presets: [presetUno(), presetTypography()], // Helio: 避免在较低版本Chrome(如v87)下开发时,无限转圈,无法到达登录页的问题 hmrTopLevelAwait: false, }), ],
The text was updated successfully, but these errors were encountered:
No branches or pull requests
【主要是给后来者指引以解决问题】
描述 Bug
自Vben引入UnoCSS后,在较低版本的Chrome(如v87版本)开发时,会出现无限转圈,无法进入登录页
复现 Bug
使用 Chrome 87.0.4280.88 Windows x64版,运行最新代码即可
解决办法
在查阅
UnoCSS
仓库后找到issuehmrTopLevelAwait
option unocss/unocss#2066在Vben工程的
internal/vite-config/src/config/common.ts
文件增加:系统信息
The text was updated successfully, but these errors were encountered: