0
Version
3.0.0-rc.11
Node and OS infonode 8.11.1/windows 10/npm 6.2.0
Steps to reproduce样式里加载assets下的图片路径报404
What is expected?没有404
What is actually happening?404
@vue/cli-service/lib/config/css.js 中
rule
.use('extract-css-loader')
.loader(require('mini-css-extract-plugin').loader)
修改如下
rule
.use('extract-css-loader')
.loader(require('mini-css-extract-plugin').loader)
.options({
publicPath: '../'
})