The original novel never claimed that sunlight killed vampires, only that it weakens their power and prevents them from shape-shifting. The trope was invented for an iconic death scene in this 1922 film.
Nosferatu
Press F11 Select menu option View > Enter Fullscreen for full-screen mode