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

include option not working #8

Open
xiaojundebug opened this issue Feb 14, 2023 · 7 comments
Open

include option not working #8

xiaojundebug opened this issue Feb 14, 2023 · 7 comments

Comments

@xiaojundebug
Copy link

No description provided.

@chengazhen
Copy link

I have also encountered the same problem

1 similar comment
@QinZhen001
Copy link

I have also encountered the same problem

@Mrcxt
Copy link

Mrcxt commented Mar 12, 2024

同样的问题

@chengazhen
Copy link

如果你是用的是unocss那是正常的,它的路径不跟随vue文件路径,所以无法匹配的

@Mrcxt
Copy link

Mrcxt commented Mar 22, 2024

如果你是用的是unocss那是正常的,它的路径不跟随vue文件路径,所以无法匹配的

我用的是react+unocss。我不太懂unocss,你意思是说unocss会跟include产生冲突吗

@chengazhen
Copy link

如果你是用的是unocss那是正常的,它的路径不跟随vue文件路径,所以无法匹配的

我用的是react+unocss。我不太懂unocss,你意思是说unocss会跟include产生冲突吗

这个注定不能使用了, 因为 unocss 最终生成的是一个类似与 global.css 文件, 并不是根据你的 react 文件来分别生成 x.css b.css 文件, 所以include 无法匹配

@panykiller
Copy link

After reading the author's source code, it seems that this feature has not been implemented

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

5 participants