diff --git a/packages/plugin-vue/src/index.ts b/packages/plugin-vue/src/index.ts index 7535a8c9..f407e578 100644 --- a/packages/plugin-vue/src/index.ts +++ b/packages/plugin-vue/src/index.ts @@ -132,7 +132,7 @@ export default function vuePlugin(rawOptions: Options = {}): Plugin { return handleHotUpdate(ctx, options) }, - config() { + config(config) { return { define: { __VUE_OPTIONS_API__: config.define?.__VUE_OPTIONS_API__ ?? true,