Set Page Title Using 'title' option of htmlWebpackPlugin & Vue-Cli in Vue.config.js

Leave a Comment
We can set page title using vue.config.js file for the VueJS application that has been created using Vue CLI.

Please create vue.config.js file in your project root directory and restart your application using npm run serve command.

module.exports = {
    chainWebpack: (config) => {
            .tap((args) => {
                args[0].title = 'Chikku Fresh';
                return args;


Post a Comment