If you don't have any package.json in project, Vetur can't know vue version and component data from other libs. Vetur assume that vue version is less than 2.5 in your project. If the version is wrong, you will get wrong diagnostic from typescript and eslint template validation.