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配置移动到项目内不进行继承 #178

Open
2 tasks done
duxphp opened this issue Jun 5, 2023 · 1 comment
Open
2 tasks done

建议将UnoCSS配置移动到项目内不进行继承 #178

duxphp opened this issue Jun 5, 2023 · 1 comment

Comments

@duxphp
Copy link

duxphp commented Jun 5, 2023

Describe the bug

在项目中使用 presetWind() 预设时会报错,因为需要做一些demo演示自己的demo中使用了unocss所以导致冲突

Reproduction

建立uno.config.js 并且使用预设 presetWind 或者 presetUno

Expected behavior

island 应该将 unocss 配置文件让用户自定义,而且island的配置应该提供为预设

System Info

Additional context

No response

Validations

  • Read the docs
  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
@sanyuan0704
Copy link
Owner

是的,感谢建议,这个设计更加合理一点,可以把 UnoCSS 的配置作为 island 配置文件的一部分

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