diff --git a/packages/slidev/node/plugins/preset.ts b/packages/slidev/node/plugins/preset.ts index 03a63b674c..62e1173bfe 100644 --- a/packages/slidev/node/plugins/preset.ts +++ b/packages/slidev/node/plugins/preset.ts @@ -112,7 +112,7 @@ export async function ViteSlidevPlugin( join(process.cwd(), 'components'), ], - include: [/\.vue$/, /\.vue\?vue/, /\.vue\?v=/, /\.md$/], + include: [/\.vue$/, /\.vue\?vue/, /\.vue\?v=/, /\.md$/, /\.md\?vue/], exclude: [], resolvers: [