一般是在 public/index.html 里面进行设置网页标题,如下
public/index.html
<title>网页标题</title>
Vue 的脚手架使用了读取配置文件的方式来设置网页标题,如下
<title><%= htmlWebpackPlugin.options.title %></title>
配置文件的内容如下
总结
XX