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

文档里面说在app.scss里注册pandacss真的有效吗 #106

Open
Almagestum469 opened this issue Jul 11, 2024 · 1 comment
Open

文档里面说在app.scss里注册pandacss真的有效吗 #106

Almagestum469 opened this issue Jul 11, 2024 · 1 comment

Comments

@Almagestum469
Copy link

Almagestum469 commented Jul 11, 2024

然后在我们的全局样式文件 src/app.scss 中注册 pandacss:
@layer reset, base, tokens, recipes, utilities;

实测在css文件里才有效, 在scss文件中是无效的, 而且示例里也是这么干的, 文档似乎有严重的误导?

@sonofmagic
Copy link
Owner

我以前尝试的时候,肯定是有效的。现在主要精力不在这个项目上,所以很久没尝试了。有空试试为啥现在无效了。

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