mirror of
https://github.com/142vip/408CSFamily.git
synced 2026-04-07 20:48:25 +08:00
feat: 配置百度统计
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user