From bb9c5a0bce6c9c5663e1aafcf11d7a02efa898e5 Mon Sep 17 00:00:00 2001 From: 135e2 <135e2@135e2.tk> Date: Tue, 9 Aug 2022 01:19:26 +0800 Subject: chore: configure website title --- vue.config.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/vue.config.js b/vue.config.js index 3b81907..ad61c7a 100644 --- a/vue.config.js +++ b/vue.config.js @@ -1,5 +1,13 @@ const { defineConfig } = require("@vue/cli-service"); module.exports = defineConfig({ + chainWebpack: (config) => { + config.plugin("html").tap((args) => { + // Configure the html title + // Ref: https://cli.vuejs.org/config/#chainwebpack + args[0].title = "Otonashi"; + return args; + }); + }, transpileDependencies: true, pluginOptions: { vuetify: { -- cgit v1.2.3