1
0
mirror of https://github.com/142vip/408CSFamily.git synced 2026-07-05 14:36:18 +08:00

Merge pull request #4 from mmdapl/next

新增百度统计
This commit is contained in:
Rong姐姐好可爱
2022-07-05 11:35:42 +08:00
committed by GitHub
4 changed files with 4386 additions and 4 deletions

View File

@@ -7,7 +7,7 @@ RUN mkdir -p /apps
COPY . /apps
WORKDIR /apps
## 安装依赖
RUN npm ci --registry https://registry.npmmirror.com && npm run build
RUN npm i --registry https://registry.npmmirror.com && npm run build
# 设置部署镜像
FROM registry.cn-hangzhou.aliyuncs.com/142vip/nginx:latest

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",

4371
package-lock.json generated Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -15,6 +15,5 @@
"devDependencies": {
"vuepress": "^2.0.0-beta.39"
},
"dependencies": {
}
"dependencies": {}
}