Authored by 李奇

字体路径

@@ -101,7 +101,7 @@ module.exports = (env) => { @@ -101,7 +101,7 @@ module.exports = (env) => {
101 loader: 'url-loader', 101 loader: 'url-loader',
102 options: { 102 options: {
103 limit: 10000, 103 limit: 10000,
104 - name: 'fonts/[name].[ext]' 104 + name: env === 'pro' ? '../fonts/[name].[ext]' : 'fonts/[name].[ext]'
105 } 105 }
106 }, { 106 }, {
107 test: /\.vue$/, 107 test: /\.vue$/,