mirror of
https://github.com/tachiyomiorg/website.git
synced 2024-12-21 07:31:58 +01:00
Prepare GA4 for release
This commit is contained in:
parent
87b40fb6c4
commit
0ae836ed2e
@ -58,6 +58,7 @@
|
|||||||
"unplugin-element-plus": "^0.8.0",
|
"unplugin-element-plus": "^0.8.0",
|
||||||
"vite-plugin-eslint": "^1.8.1",
|
"vite-plugin-eslint": "^1.8.1",
|
||||||
"vitepress": "1.0.0-rc.10",
|
"vitepress": "1.0.0-rc.10",
|
||||||
|
"vitepress-plugin-google-analytics": "^1.0.2",
|
||||||
"vitepress-plugin-tabs": "^0.3.0",
|
"vitepress-plugin-tabs": "^0.3.0",
|
||||||
"vue": "^3.3.4",
|
"vue": "^3.3.4",
|
||||||
"vue-eslint-parser": "^9.3.1",
|
"vue-eslint-parser": "^9.3.1",
|
||||||
|
15
website/pnpm-lock.yaml
generated
15
website/pnpm-lock.yaml
generated
@ -1,5 +1,9 @@
|
|||||||
lockfileVersion: '6.0'
|
lockfileVersion: '6.0'
|
||||||
|
|
||||||
|
settings:
|
||||||
|
autoInstallPeers: true
|
||||||
|
excludeLinksFromLockfile: false
|
||||||
|
|
||||||
dependencies:
|
dependencies:
|
||||||
'@iconify-prerendered/vue-mdi':
|
'@iconify-prerendered/vue-mdi':
|
||||||
specifier: ^0.23.1689058119
|
specifier: ^0.23.1689058119
|
||||||
@ -114,6 +118,9 @@ devDependencies:
|
|||||||
vitepress:
|
vitepress:
|
||||||
specifier: 1.0.0-rc.10
|
specifier: 1.0.0-rc.10
|
||||||
version: 1.0.0-rc.10(@algolia/client-search@4.19.1)(@types/node@20.5.7)(axios@1.5.0)(search-insights@2.7.0)(stylus@0.60.0)
|
version: 1.0.0-rc.10(@algolia/client-search@4.19.1)(@types/node@20.5.7)(axios@1.5.0)(search-insights@2.7.0)(stylus@0.60.0)
|
||||||
|
vitepress-plugin-google-analytics:
|
||||||
|
specifier: ^1.0.2
|
||||||
|
version: 1.0.2
|
||||||
vitepress-plugin-tabs:
|
vitepress-plugin-tabs:
|
||||||
specifier: ^0.3.0
|
specifier: ^0.3.0
|
||||||
version: 0.3.0(vitepress@1.0.0-rc.10)(vue@3.3.4)
|
version: 0.3.0(vitepress@1.0.0-rc.10)(vue@3.3.4)
|
||||||
@ -5464,6 +5471,10 @@ packages:
|
|||||||
fsevents: 2.3.3
|
fsevents: 2.3.3
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
|
/vitepress-plugin-google-analytics@1.0.2:
|
||||||
|
resolution: {integrity: sha512-ri8bFUAmt3c/DtPrALauGBIUr2gIJ11c1qNRhwd3/+aiuYZBfQpOosSxcO1AswgwRxP9FwBS6Z7jgdDVyXb2hA==}
|
||||||
|
dev: true
|
||||||
|
|
||||||
/vitepress-plugin-tabs@0.3.0(vitepress@1.0.0-rc.10)(vue@3.3.4):
|
/vitepress-plugin-tabs@0.3.0(vitepress@1.0.0-rc.10)(vue@3.3.4):
|
||||||
resolution: {integrity: sha512-3dKsBuP6PDzcFHgUtNCwwCs3bYoZduj7AcQkT9JfAKTRAKPCNmjiNInPT3IZ7AihL0SJNoQ3liz/e97z8oo+XA==}
|
resolution: {integrity: sha512-3dKsBuP6PDzcFHgUtNCwwCs3bYoZduj7AcQkT9JfAKTRAKPCNmjiNInPT3IZ7AihL0SJNoQ3liz/e97z8oo+XA==}
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
@ -5711,7 +5722,3 @@ packages:
|
|||||||
/yoga-wasm-web@0.3.3:
|
/yoga-wasm-web@0.3.3:
|
||||||
resolution: {integrity: sha512-N+d4UJSJbt/R3wqY7Coqs5pcV0aUj2j9IaQ3rNj9bVCLld8tTGKRa2USARjnvZJWVx1NDmQev8EknoczaOQDOA==}
|
resolution: {integrity: sha512-N+d4UJSJbt/R3wqY7Coqs5pcV0aUj2j9IaQ3rNj9bVCLld8tTGKRa2USARjnvZJWVx1NDmQev8EknoczaOQDOA==}
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
settings:
|
|
||||||
autoInstallPeers: true
|
|
||||||
excludeLinksFromLockfile: false
|
|
||||||
|
@ -14,6 +14,9 @@ import { enhanceAppWithTabs } from "vitepress-plugin-tabs/client"
|
|||||||
// Import Icon components
|
// Import Icon components
|
||||||
import { IconBugReport, IconDownload, IconNewspaperVariant } from "@iconify-prerendered/vue-mdi"
|
import { IconBugReport, IconDownload, IconNewspaperVariant } from "@iconify-prerendered/vue-mdi"
|
||||||
|
|
||||||
|
// Import Google Analytics plugin
|
||||||
|
import googleAnalytics from "vitepress-plugin-google-analytics"
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
extends: DefaultTheme,
|
extends: DefaultTheme,
|
||||||
enhanceApp({ app }) {
|
enhanceApp({ app }) {
|
||||||
@ -22,5 +25,6 @@ export default {
|
|||||||
app.component("IconDownload", IconDownload)
|
app.component("IconDownload", IconDownload)
|
||||||
app.component("IconNewspaperVariant", IconNewspaperVariant)
|
app.component("IconNewspaperVariant", IconNewspaperVariant)
|
||||||
app.component("IconBugReport", IconBugReport)
|
app.component("IconBugReport", IconBugReport)
|
||||||
|
// googleAnalytics({ id: "G-2CBXXM1Y86" })
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user