Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

change htmlwebpackplugin.options.title

//vue.config.js
module.exports = {
    chainWebpack: config => {
        config
            .plugin('html')
            .tap(args => {
                args[0].title = "My Vue App";
                return args;
            })
    }
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #change
ADD COMMENT
Topic
Name
6+2 =