feat: 网页title根据路由动态变化

This commit is contained in:
taoran
2023-11-29 18:59:45 +08:00
parent a3f5cf6f2d
commit 7279a85274
7 changed files with 283 additions and 18 deletions
+1 -1
View File
@@ -4,7 +4,7 @@
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Vite + Vue + TS</title>
<title><%= title %></title>
</head>
<body>
<div id="app"></div>