引用UI(MUI、element......)的CSS样式,样式里有用到字体,报错时需要修改webpack.config.js配置试试
{
test: /\.(eot|svg|ttf|woff|woff2)(\?\S*)?$/,
loader: 'file-loader'
}
引用UI(MUI、element......)的CSS样式,样式里有用到字体,报错时需要修改webpack.config.js配置试试
{
test: /\.(eot|svg|ttf|woff|woff2)(\?\S*)?$/,
loader: 'file-loader'
}