Skip to content

Commit

Permalink
Fix Error
Browse files Browse the repository at this point in the history
  • Loading branch information
CN-ycx committed Jul 15, 2024
1 parent b4e1110 commit 52d6baa
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
8 changes: 8 additions & 0 deletions src/.vuepress/config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
// import { searchProPlugin } from "vuepress-plugin-search-pro";
// import { cut } from "nodejs-jieba";
import { googleAnalyticsPlugin } from '@vuepress/plugin-google-analytics';

import theme from "./modules/theme.js";

export default {
Expand Down Expand Up @@ -36,6 +38,12 @@ export default {

theme,

plugins: [
googleAnalyticsPlugin({
id: "G-GWSWLL4D2C"
})
],

/* configureWebpack: () => {
const NODE_ENV = process.env.NODE_ENV
if (NODE_ENV === 'production') {
Expand Down
4 changes: 0 additions & 4 deletions src/.vuepress/modules/theme.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,10 +86,6 @@ export default hopeTheme({
]
},

googleAnalyticsPlugin({
id: "G-GWSWLL4D2C",
}),

/*
searchPro: {
indexContent: true,
Expand Down

0 comments on commit 52d6baa

Please sign in to comment.