优化跨域配置,支持同域的前后端分离部署
This commit is contained in:
@@ -47,8 +47,7 @@ exports.cssLoaders = function (options) {
|
||||
if (options.extract) {
|
||||
return ExtractTextPlugin.extract({
|
||||
use: loaders,
|
||||
fallback: 'vue-style-loader',
|
||||
publicPath: '../../'
|
||||
fallback: 'vue-style-loader'
|
||||
})
|
||||
} else {
|
||||
return ['vue-style-loader'].concat(loaders)
|
||||
|
||||
Reference in New Issue
Block a user