Skip to content
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

unocss在capacitor上报错 #2074

Closed
luoyi58624 opened this issue Jan 12, 2023 · 1 comment
Closed

unocss在capacitor上报错 #2074

luoyi58624 opened this issue Jan 12, 2023 · 1 comment

Comments

@luoyi58624
Copy link

luoyi58624 commented Jan 12, 2023

我在使用capacitor开发混合应用时,引入unocss andriod studio就会报错,手机上的测试应用将出现白屏。
最小示例代码地址: https://github.com/luoyi58624/vite-vue3-app
报错信息如下:
image

手机上正常效果:
658369dc4b2cc96434eae11ab8bc5d1
引入unocss后的报错效果:
f4e8b58880722d53cf781c56a87eff4
变动的2处代码:
image
image

@antfu
Copy link
Member

antfu commented Jan 13, 2023

#2066

@antfu antfu closed this as completed Jan 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants