1
0
mirror of https://github.com/Snailclimb/JavaGuide synced 2025-06-16 18:10:13 +08:00
guide 827996e772 [docs feat]移除了开发工具的部分内容
开发工具这部分访问量比较小,和整体内容出入比较大,所以移除了,会统一搭建一个站点放相关的文章。
2022-03-03 20:39:23 +08:00

39 lines
936 B
TypeScript

const { defineHopeConfig } = require("vuepress-theme-hope");
import themeConfig from "./themeConfig";
module.exports = defineHopeConfig({
port: "8080",
title: "JavaGuide",
description: "Java学习&&面试指南",
//指定 vuepress build 的输出目录
dest: "./dist",
// 是否开启默认预加载 js
shouldPrefetch: (file, type) => false,
head: [
// 添加百度统计
[
"script", {},
`var _hmt = _hmt || [];
(function() {
var hm = document.createElement("script");
hm.src = "https://hm.baidu.com/hm.js?5dd2e8c97962d57b7b8fea1737c01743";
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(hm, s);
})();`
],
[
"link",
{
rel: "stylesheet",
href: "//at.alicdn.com/t/font_2922463_lu595twe5t.css",
},
],
],
locales: {
"/": {
lang: "zh-CN"
}
},
themeConfig,
});