202010-23 解决Vue项目中tff报错的问题 在webpack.config.js中的模块配置中加如下的配置规则:{test:/\.(woff2?|eot|ttf|otf)(\?.*)?$/,use:"url-loader"}constpath=require('path');consthtmlWebpackplugin=require('html-webpack-plugin');constVueLoaderPlugin=require('vue-loader/lib/plugin');module.exports={entry:path.join(__dirname,'./src/main.js'),output:{path:path.join(__dirname,'./dist'),filename:'bu... 继续阅读 >