Vue server rendering, packing times error

perform server rendering with the official document rendered by the vue server. When packaging, execute webpack.client.conf.js error

clipboard.png

Mar.04,2021

introduced in the webpack.base.config.js file and added to the plugins array:

const ExtractTextPlugin = require('extract-text-webpack-plugin')

......

new ExtractTextPlugin({
    filename: 'common.[chunkhash].css'
})
Menu