]> git.ipfire.org Git - thirdparty/vuejs/core.git/commitdiff
chore: grammar in comments [ci skip]
authorHanochMa <32772550+HanochMa@users.noreply.github.com>
Fri, 8 Oct 2021 15:59:47 +0000 (23:59 +0800)
committerGitHub <noreply@github.com>
Fri, 8 Oct 2021 15:59:47 +0000 (11:59 -0400)
Co-authored-by: maheng <maheng01@longfor.com>
packages/compiler-sfc/src/compileScript.ts

index daef402a4863f43a26f0dc0c2852807d0bd0edce..7defa480a9f3f0bfe18ed84272a96374e05dc44c 100644 (file)
@@ -575,7 +575,7 @@ export function compileScript(
         error(
           `\`${method}()\` in <script setup> cannot reference locally ` +
             `declared variables because it will be hoisted outside of the ` +
-            `setup() function. If your component options requires initialization ` +
+            `setup() function. If your component options require initialization ` +
             `in the module scope, use a separate normal <script> to export ` +
             `the options instead.`,
           id