Переглянути джерело

update version mismatch message

Evan You 9 роки тому
батько
коміт
662586b24a
1 змінених файлів з 2 додано та 1 видалено
  1. 2 1
      packages/vue-template-compiler/index.js

+ 2 - 1
packages/vue-template-compiler/index.js

@@ -10,7 +10,8 @@ if (vueVersion && vueVersion !== packageVersion) {
     '- vue@' + vueVersion + '\n' +
     '- ' + packageName + '@' + packageVersion + '\n\n' +
     'This may cause things to work incorrectly. Make sure to use the same version for both.\n' +
-    'If you are using vue-loader or vueify, re-installing them should bump ' + packageName + ' to the latest.\n'
+    'If you are using vue-loader@>=10.0, simply update vue-template-compiler.\n' +
+    'If you are using vue-loader@<10.0 or vueify, re-installing vue-loader/vueify should bump ' + packageName + ' to the latest.\n'
   )
 }