【Vue Error】Virtual script not found, may missing <script lang=“ts“> “allowJs“: true / jsconfig.json
1. Problem description
Two, the reason
The translation means: it is possible that the configuration that allows JS has not been added to the configuration ( allowJs:true
)
3. Solutions
Find jsconfig.json
the file, add the following code: "allowJs": true,
Solved successfully!