chore: analytics
This commit is contained in:
@@ -8,7 +8,6 @@ import { createWriteStream } from 'node:fs'
|
||||
import { resolve } from 'node:path'
|
||||
import { SitemapStream } from 'sitemap'
|
||||
import { fileURLToPath, URL } from 'node:url'
|
||||
import { inject } from '@vercel/analytics';
|
||||
|
||||
const links = []
|
||||
|
||||
@@ -168,7 +167,6 @@ export default withMermaid({
|
||||
})
|
||||
},
|
||||
buildEnd: async ({ outDir }) => {
|
||||
inject()
|
||||
const sitemap = new SitemapStream({
|
||||
hostname: 'https://hdu-cs.wiki/'
|
||||
})
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
// https://vitepress.dev/guide/custom-theme
|
||||
import { h, watch } from 'vue'
|
||||
import { inject } from '@vercel/analytics';
|
||||
// import Theme from 'vitepress/theme'
|
||||
import DefaultTheme from 'vitepress/theme-without-fonts'
|
||||
import Download from '../../components/Download.vue'
|
||||
@@ -10,6 +11,7 @@ import './rainbow.css'
|
||||
|
||||
let homePageStyle = undefined
|
||||
|
||||
inject()
|
||||
|
||||
export default {
|
||||
...DefaultTheme,
|
||||
|
||||
Reference in New Issue
Block a user