island.js icon indicating copy to clipboard operation
island.js copied to clipboard

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

Open duxphp opened this issue 2 years ago • 1 comments

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

  • [X] Read the docs
  • [X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.

duxphp avatar Jun 05 '23 14:06 duxphp

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

sanyuan0704 avatar Jun 05 '23 14:06 sanyuan0704