|
|
@@ -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
|