chore: grammar in comments [ci skip]
Co-authored-by: maheng <maheng01@longfor.com>
This commit is contained in:
parent
925bc346fe
commit
7a1e6620bf
@ -575,7 +575,7 @@ export function compileScript(
|
|||||||
error(
|
error(
|
||||||
`\`${method}()\` in <script setup> cannot reference locally ` +
|
`\`${method}()\` in <script setup> cannot reference locally ` +
|
||||||
`declared variables because it will be hoisted outside of the ` +
|
`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 ` +
|
`in the module scope, use a separate normal <script> to export ` +
|
||||||
`the options instead.`,
|
`the options instead.`,
|
||||||
id
|
id
|
||||||
|
Loading…
Reference in New Issue
Block a user