From d594a83acd712356a332eebfb206165bb3c905a3 Mon Sep 17 00:00:00 2001 From: Evan You Date: Fri, 1 Dec 2023 12:32:59 +0800 Subject: [PATCH] Update config.ts --- .vitepress/config.ts | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.vitepress/config.ts b/.vitepress/config.ts index 8f5ef5d8b7..7be2308b6f 100644 --- a/.vitepress/config.ts +++ b/.vitepress/config.ts @@ -599,6 +599,13 @@ export default defineConfigWithTheme({ 'data-spa': 'auto', defer: '' } + ], + [ + 'script', + { + src: 'https://vueschool.io/banner.js?affiliate=vuejs&type=top', + async: 'true' + } ] ], @@ -693,7 +700,7 @@ export default defineConfigWithTheme({ markdown: { config(md) { md.use(headerPlugin) - // .use(textAdPlugin) + // .use(textAdPlugin) } },