Answers for "change htmlwebpackplugin.options.title"

1

htmlWebpackPlugin.options.title

//vue.config.js
module.exports = {
  chainWebpack: config => {
    config
      .plugin('html')
      .tap(args => {
        args[0].title = "Popular films";
        return args;
      })
  }
}
Posted by: Guest on December-29-2020
0

change htmlwebpackplugin.options.title

//vue.config.js
module.exports = {
    chainWebpack: config => {
        config
            .plugin('html')
            .tap(args => {
                args[0].title = "My Vue App";
                return args;
            })
    }
}
Posted by: Guest on May-30-2021

Browse Popular Code Answers by Language