Skip to content

Commit 78e1d37

Browse files
committed
添加easy-monitor链接到gitbook
1 parent 34d9286 commit 78e1d37

File tree

3 files changed

+29
-0
lines changed

3 files changed

+29
-0
lines changed

text/.vuepress/config.js

+11
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,17 @@ module.exports = {
66
 description: 'Node 基础教程',
77
base,
88
dest: 'output',
9+
head: [
10+
[
11+
'script', // js 文件
12+
{
13+
src: '/js/seo.js',
14+
async: true,
15+
defer: true
16+
}
17+
]
18+
19+
],
920
markdown: {
1021
lineNumbers: true,
1122
externalLinks: { target: '_blank', rel: 'nofollow noopener noreferrer' },

text/.vuepress/public/js/seo.js

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
// 头条
2+
(function(){
3+
4+
var el = document.createElement("script");
5+
el.src = "https://lf1-cdn-tos.bytegoofy.com/goofy/ttzz/push.js?c01f9ae9458a3c8ae93cb1924a22a59f97b56976d74c844b93bbc46a0b46b798fd9a9dcb5ced4d7780eb6f3bbd089073c2a6d54440560d63862bbf4ec01bba3a";
6+
el.id = "ttzz";
7+
var s = document.getElementsByTagName("script")[0];
8+
s.parentNode.insertBefore(el, s);
9+
})(window)
10+
// 百度
11+
var _hmt = _hmt || [];
12+
(function() {
13+
var hm = document.createElement("script");
14+
hm.src = "https://hm.baidu.com/hm.js?628c040f31bc950845419d51d5cbebeb";
15+
var s = document.getElementsByTagName("script")[0];
16+
s.parentNode.insertBefore(hm, s);
17+
})();

text/SUMMARY.md

+1
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,4 @@
1919
* [A4 HTTP请求参数](a4_node_http.md)
2020
* [A5 安装多版本 Node](a5_node_multi_versions.md)
2121
* [A6 Node 原生扩展编译环境搭建](a6_node_native_addon_config.md)
22+
* [A7 easy-monitor 环境搭建](a7_easy_monitor_setup.md)

0 commit comments

Comments
 (0)