Answers for "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

vue htmlWebpackPlugin.options.title

// 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;
    });
  }
};
Posted by: Guest on July-18-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

Code answers related to "Javascript"

Browse Popular Code Answers by Language