You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The 'import.meta' meta-property is only allowed when the '--module' option is 'es2020', 'es2022', 'esnext', 'system', 'node16', or 'nodenext'.Vetur(1343) #3708
I have tried restarting VS Code or running Vetur: Restart VLS
Info
Platform: Win
Vetur version:0.37.3
Problem
i use "npm init vue@latest" init a vue project,this project has config esnext in tsconfig , but still has an alarm
The 'import.meta' meta-property is only allowed when the '--module' option is 'es2020', 'es2022', 'esnext', 'system', 'node16', or 'nodenext'.Vetur(1343)
this is my code
The above code can run normally, it seems like that vetur can't identify this grammar, but I hope Vetur doesn't give an alarm prompt
david-zamora-minderest, Saeid-Za, Nxtra and alamenai