We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 925bc34 commit 7a1e662Copy full SHA for 7a1e662
packages/compiler-sfc/src/compileScript.ts
@@ -575,7 +575,7 @@ export function compileScript(
575
error(
576
`\`${method}()\` in <script setup> cannot reference locally ` +
577
`declared variables because it will be hoisted outside of the ` +
578
- `setup() function. If your component options requires initialization ` +
+ `setup() function. If your component options require initialization ` +
579
`in the module scope, use a separate normal <script> to export ` +
580
`the options instead.`,
581
id
0 commit comments