webpack 打包后 字体文件不存在 用muse ui 字体图标不显示

muse ui 字体图标文过大 在 build/webpack.base.config.js

{
  test: /\.(woff2?|eot|ttf|otf)(\?.*)?$/,
  loader: 'url-loader',
  options: {
    limit: 800000,
    name: utils.assetsPath('fonts/[name].[hash:7].[ext]')
  }
}

就可以解决

猜你喜欢

转载自blog.csdn.net/duanran0/article/details/86138590