They are both correct.

This is how you say it formally
Я люблю вас
Я вас люблю

This is how you say it informally
Я люблю тебя
Я тебя люблю