Home>

When I open one of the .vue components in Webstorm, I see the following picture, although before that there was the component code. Tell me how to fix it?

the picture is more like package.json, not vue component. Are you sure you didn't accidentally overwrite the contents of the file? And what happens if you open it in another editor?

lena2021-02-23 19:05:02

@lena did not rewrite file content, vue component opened in VS Code

fereshen2021-02-23 19:05:02

more than strange, I have never encountered such a thing. If invalidating caches does not help, check that the file you open in other editors is indeed the same file that you open in webstorm

lena2021-02-23 19:05:02

@lena nothing worked, I just deleted this file and did a git pull

fereshen2021-02-23 19:05:02