mirror of
https://gitee.com/easii/mapstruct-plus.git
synced 2025-12-08 01:58:55 +08:00
升级vuepress
This commit is contained in:
parent
b020a42732
commit
5f7860447f
@ -2,7 +2,8 @@ import { defineUserConfig } from "vuepress";
|
||||
import type { DefaultThemeOptions } from "vuepress";
|
||||
import recoTheme from "vuepress-theme-reco";
|
||||
import { themeConfig } from './config/index'
|
||||
import { umamiAnalyticsPlugin } from 'vuepress-plugin-umami-analytics'
|
||||
import { sitemapPlugin } from '@vuepress/plugin-sitemap'
|
||||
import { webpackBundler } from '@vuepress/bundler-webpack'
|
||||
|
||||
export default defineUserConfig({
|
||||
locales: {
|
||||
@ -37,9 +38,9 @@ export default defineUserConfig({
|
||||
}
|
||||
},
|
||||
plugins: [
|
||||
umamiAnalyticsPlugin({
|
||||
id: '50be7a94-e1d7-4d49-a8db-67b17acaa0b3',
|
||||
src: 'https://114.115.147.1/script.js'
|
||||
})
|
||||
]
|
||||
sitemapPlugin({
|
||||
hostname: 'mapstruct.plus'
|
||||
}),
|
||||
],
|
||||
bundler: webpackBundler(),
|
||||
});
|
||||
|
||||
@ -12,9 +12,10 @@
|
||||
"docs:clean-dev": "vuepress dev docs --clean-cache"
|
||||
},
|
||||
"dependencies": {
|
||||
"vue": "3.3.11",
|
||||
"vuepress": "2.0.0-rc.0",
|
||||
"vuepress-plugin-umami-analytics": "^1.7.0",
|
||||
"vuepress-theme-reco": "2.0.0-rc.1"
|
||||
"vue": "^3.4.27",
|
||||
"vuepress": "2.0.0-rc.12",
|
||||
"vuepress-theme-reco": "2.0.0-rc.13",
|
||||
"@vuepress/bundler-webpack": "2.0.0-rc.12",
|
||||
"@vuepress/plugin-sitemap": "2.0.0-rc.12"
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user