From 5e25a19181835305ff7db7b47e6148a7e991f1b2 Mon Sep 17 00:00:00 2001 From: Sam Willis Date: Thu, 8 Aug 2024 16:37:02 +0100 Subject: [PATCH] Add plausible to docs --- docs/.vitepress/config.mts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/.vitepress/config.mts b/docs/.vitepress/config.mts index ef244006..a1b5d8a0 100644 --- a/docs/.vitepress/config.mts +++ b/docs/.vitepress/config.mts @@ -27,6 +27,14 @@ export default defineConfig({ href: '/img/brand/icon-light.svg', }, ], + [ + 'script', + { + defer: 'defer', + 'data-domain': 'pglite.dev', + src: 'https://plausible.io/js/script.js', + }, + ], ], themeConfig: { // https://vitepress.dev/reference/default-theme-config