Skip to content

Commit 781d294

Browse files
committed
chore: update directives description
1 parent 71cf61e commit 781d294

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ Components({
287287

288288
// auto import for directives
289289
// default: `true` for Vue 3, `false` for Vue 2
290-
// For Vue 2, there may be performance losses during compilation and runtime.
290+
// Babel is needed to do the transformation for Vue 2, it's disabled by default for performance concerns.
291291
directives: true,
292292

293293
// filters for transforming targets

src/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ export interface Options {
129129
*
130130
* default: `true` for Vue 3, `false` for Vue 2
131131
*
132-
* For Vue 2, there may be performance losses during compilation and runtime.
132+
* Babel is needed to do the transformation for Vue 2, it's disabled by default for performance concerns.
133133
* @default undefined
134134
*/
135135
directives?: boolean

0 commit comments

Comments
 (0)