1
0
mirror of https://github.com/142vip/408CSFamily.git synced 2026-04-07 20:48:25 +08:00

feat: 配置百度统计

This commit is contained in:
妹妹下雨回不去
2022-07-04 17:37:59 +08:00
parent bc9a970e6a
commit c420e7fd58

View File

@@ -16,7 +16,19 @@ module.exports = {
// base: "/408CSFamily/",
port: 4200,
head: [
["link", { rel: "icon", href: "/408_favicon.ico" }]
[
"link", { rel: "icon", href: "/408_favicon.ico" }
],
[// 百度统计
'script',{},`
var _hmt = _hmt || [];
(function() {
var hm = document.createElement("script");
hm.src = "https://hm.baidu.com/hm.js?3515cc46ae60747b778140f0e5e22dfe";
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(hm, s);
})();`
]
],
themeConfig: {
logo: "/assets/408_logo.png",