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

需要手动导入antd的CSS文件? #175

Open
chrisyer opened this issue Aug 4, 2018 · 1 comment
Open

需要手动导入antd的CSS文件? #175

chrisyer opened this issue Aug 4, 2018 · 1 comment

Comments

@chrisyer
Copy link

chrisyer commented Aug 4, 2018

如果项目不手动导入antd的CSS文件,默认的模态对话框、提示消息,都没有样式。

难到必须要

import 'node_modules/antd/dist/antd.css';
或
import 'node_modules/antd/lib/modal/style/index.css';

这样手动导入吗?

@chrisyer chrisyer changed the title 需要手动导入Antd的CSS文件? 需要手动导入antd的CSS文件? Aug 4, 2018
@changle110
Copy link

@chrisyer 你解决了么 他用的版本好像不对 他用的是2.8的 现在已经更新到3.12了

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