Skip to content

Commit

Permalink
fix: tell Vue to ignore Swiper components
Browse files Browse the repository at this point in the history
  • Loading branch information
rileychh committed Dec 8, 2024
1 parent 819b774 commit 4ddb63d
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .vitepress/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,13 @@ export default defineConfig({
}),
],
},
vue: {
template: {
compilerOptions: {
isCustomElement: (tag) => tag.includes('swiper'),
},
},
},
title: conference.title,
description: conference.description,
srcDir: 'content',
Expand Down

0 comments on commit 4ddb63d

Please sign in to comment.