Hello, everyone, I configure the webpack3.6 to introduce Ali's iconfont, has not been able to report mistakes, please take a look at it and give us some advice. Thank you

1, I configured file-loader and url-loader, but the file mistakenly said that the @ symbol was not supported. I am using sass, images. You can use
clipboard.png

2,

clipboard.png

3

clipboard.png

4iconfont

clipboard.png

.
Mar.23,2021

try installing style-loader

npm install style-loader-- save

modify the webpack configuration file again

    {
        test: /\.css$/,
        loader: 'style-loader!css-loader'
      },
      {
        test: /\.(eot|svg|ttf|woff|woff2)(\?\S*)?$/,
        loader: 'file-loader'
      },

install node-sass css-loader

Menu