Skip to content

Commit

Permalink
fix: config
Browse files Browse the repository at this point in the history
  • Loading branch information
zxwin0125 committed Nov 21, 2024
1 parent 3b4be59 commit 0d62dae
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions docs/.vuepress/config.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { webpackBundler } from "@vuepress/bundler-webpack";
import { defineUserConfig } from "vuepress";
import { googleAnalyticsPlugin } from "@vuepress/plugin-google-analytics";

import theme from "./theme.js";

Expand All @@ -11,9 +10,9 @@ export default defineUserConfig({
// 网站语言,默认为中文
lang: "zh-CN",
// 网站标题
title: "LearnData 开源笔记",
title: "欢迎来到我的Blog",
// 网站描述
description: "开源工具、效率方法、心理学探索的自我提升笔记,记录并输出一切能让自己提升的知识",
description: "记录并输出一切能让自己提升的知识",

theme,
// 是否开启页面预拉取,如果服务器宽带足够,可改为 true,会提升其他页面加载速度
Expand All @@ -26,13 +25,6 @@ export default defineUserConfig({
// 禁止文件夹生成静态文件,参考 [VuePress 文档](https://v2.vuepress.vuejs.org/zh/guide/page.html#routing)
pagePatterns: ["**/*.md", "!_temp", "!reading", "!.vuepress", "!node_modules"],

plugins: [
// 谷歌分析
googleAnalyticsPlugin({
// 设置你的 Analytics ID
id: "G-RWKZTY2P9R",
}),
],
bundler: webpackBundler({
postcss: {},
vue: {},
Expand Down

0 comments on commit 0d62dae

Please sign in to comment.