PORT ST. LUCIE — Todd Frazier first saw the player who has a chance to replace him last June.

That’s when Miguel Andujar made his MLB debut against Frazier and the White Sox and went 3-for-4 with a double and four RBIs.

“He opened my eyes that game,” said Frazier, who is now the Mets’ third baseman and hit his first homer of the spring in a 7-3 loss to the Nationals on Sunday at First Data Field. “I saw that and said, ‘Who is this kid?’ ”

Frazier got a closer look toward the end of last season after he was traded to the Yankees and Andujar returned to The Bronx as a September call-up.

Andujar’s time on the field was limited — in part to the presence of Frazier — but Frazier was impressed by what Andujar did prior to games.

“He was with Joe [Espada] all the time,” Frazier said of the Yankees’ former infield coach, who is now A.J. Hinch’s bench coach with the Astros. “It looked like he was starting to come into his own.”

And he expects that to continue for Andujar, who just turned 23 and is 8-for-19 with two doubles and four homers in his first seven games of the spring for the Yankees.

“This kid’s got all the right tools and mindset,” said Frazier, who signed a two-year, $17 million deal with the Mets. “He worked his butt off. And he’s got that swing. It’s attack-mode all the time and I love everything about that. I hope if he does get that job, he does it well because the sky’s the limit for him.”

The Yankees’ acquisition of Brandon Drury complicates Andujar’s path to the majors, but that might not be the worst thing for a young player, according to Frazier.

“In the big leagues it’s an atmosphere you’re not used to and it can take a while,’’ Frazier said. “He’s a young kid that’s gonna be good, but with the Yankees, it’s different. I came up with the Reds, where you can fly under the radar a little bit. You can’t do that with the Yankees, and he probably doesn’t totally understand that. That can help, since he might not put too much pressure on himself, but it’s a tough situation for anyone to walk into.”