project_cryptoverse icon indicating copy to clipboard operation
project_cryptoverse copied to clipboard

Error with using ant design

Open HenryHayes-jpg opened this issue 3 years ago • 1 comments

After I run npm start a blank page is displayed on my localhost port and the following error is displayed: "Failed to parse source map: 'webpack://antd/./components/config-provider/style/index.less' URL is not supported". Any suggestions?

HenryHayes-jpg avatar Feb 12 '22 20:02 HenryHayes-jpg

@HenryHayes-jpg In index.js change import "antd/dist/antd.css"; to import "antd/dist/antd.min.css"; solved my problem

fuddin95 avatar Feb 17 '22 22:02 fuddin95