We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
import {Button} from 'antd'
直接引用错误,提示: ERROR in ./app/components/App.jsx Module not found: Error: Cannot resolve module 'antd/component/button/style' in /Users/xxxx/Documents/cms/app/components @ ./app/components/App.jsx 7:13-51
ERROR in ./app/components/App.jsx Module not found: Error: Cannot resolve module 'antd/component/button' in /Users/xxxx/Documents/cms/app/components @ ./app/components/App.jsx 9:14-46
用了webpack 配置alias,不知道跟这个有没有关……
The text was updated successfully, but these errors were encountered:
应该有关。
Sorry, something went wrong.
装了less和less-loader解决了
No branches or pull requests
import {Button} from 'antd'
直接引用错误,提示:
ERROR in ./app/components/App.jsx
Module not found: Error: Cannot resolve module 'antd/component/button/style' in /Users/xxxx/Documents/cms/app/components
@ ./app/components/App.jsx 7:13-51
ERROR in ./app/components/App.jsx
Module not found: Error: Cannot resolve module 'antd/component/button' in /Users/xxxx/Documents/cms/app/components
@ ./app/components/App.jsx 9:14-46
用了webpack 配置alias,不知道跟这个有没有关……
The text was updated successfully, but these errors were encountered: