Skip to content

Commit 3a5d0cf

Browse files
committed
Deprecate Vue 2 support
1 parent 82e55ec commit 3a5d0cf

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/config-generator.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,9 @@ class ConfigGenerator {
133133
switch (vueVersion) {
134134
case 2:
135135
case '2.7':
136+
logger.deprecation('The support for Vue 2 is deprecated and will be removed in the next major version of Encore.' +
137+
' Please upgrade to Vue 3, and if necessary remove the "version" setting or set it to 3 when calling ".enableVueLoader()".');
138+
136139
config.resolve.alias['vue$'] = 'vue/dist/vue.esm.js';
137140
break;
138141
case 3:

0 commit comments

Comments
 (0)