Просмотр исходного кода

chore: fix typo in inherit-attrs warning (#4094)

Tan Zhen Yong 4 лет назад
Родитель
Сommit
e508ee08e9
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      packages/compiler-sfc/src/compileScript.ts

+ 1 - 1
packages/compiler-sfc/src/compileScript.ts

@@ -151,7 +151,7 @@ export function compileScript(
   // TODO remove on 3.2
   if (sfc.template && sfc.template.attrs['inherit-attrs'] === 'false') {
     warnOnce(
-      `experimetnal support for <template inherit-attrs="false"> support has ` +
+      `Experimental support for <template inherit-attrs="false"> support has ` +
         `been removed. Use a <script> block with \`export default\` to ` +
         `declare options.`
     )