Open a project containing both .ts and .vue files. The project must be open without any of the files open. Then, open a .vue file. Close VSCode, keeping in mind that the .vue file tab is open. Reopen ...
If you delete the new .uid file for a resource (such as a .gd script), it will not be recreated and there's no way to force recreation other than deleting the .godot ...