Vue + TS reports an error after configuring the path alias

tsconfig.json

        "paths": {
            "@/*": ["src/*"]
        },

Err: an error is reported and the path cannot be found
solution: vscode open the workspace and save the file in the workspace

Read More: