Check out example codes for "vue htmlWebpackPlugin.options.title". It will help you in understanding the concepts better.

Code Example 1

// Put this into /vue.config.js
module.exports = {
  chainWebpack: config => {
    config
      .plugin('html')
      .tap(args => {
      args[0].title = '<Your new title>';	// Replace your title here
      return args;
    });
  }
};

Learn ReactJs, React Native from akashmittal.com