LAS VEGAS — The Nets have always struggled to draw fans. They actually failed to sell out a 2002 Finals game in East Rutherford, NJ — something no other team failed to do until Golden State recently — and they were dead last in the league in attendance last season at 14,941 per game.

But all that is changing. The NBA is a star-driven league, and the Nets’ sudden star power is clearly driving their newfound popularity.

They landed Kevin Durant, Kyrie Irving and DeAndre Jordan in the opening hours of free agency June 30, and they already have exceeded their ticket revenue from all of last season.

“Part of the strategy over the last three years was to develop a good roster of young players and clear cap space to get some big-name talent, which is exactly what we have done,” owner Mikhail Prokhorov told The Post.

And those stars have jumpstarted the team’s popularity and profits.

The day their new star trio was added was the largest single day of ticket-sales activity in franchise history. The staff got almost 1,000 inbound phone calls that day alone.

BrooklynNets.com saw a 675% spike in traffic on June 30, and NetsStore.com experienced a 304% increase in sales versus an average day last season. And the very next day, July 1, NetsStore.com saw its highest-trafficked day ever.

Well, that is until breaking the record Sunday, less than a week later.

The day after free agency opened, The Post had reported the Nets’ coup — built around Durant — should help the team generate an extra $29 million to $43.5 million through increased ticket sales, corporate sponsorships and merchandising deals.

“Prices will go up and they will sell out,” University of Michigan sports management professor Mark Rosentraub said of Durant’s comeback. “No one in the NBA drives attendance like Kevin Durant.”

The newfound popularity extends to social media, where the Nets are the third-most-followed roster in the entire NBA. Brooklyn’s aggregate 66.6 million followers across social media are several times the NBA average of 23.4 million and trail just the Lakers and Warriors. They’re second on Twitter (23.7 million) and Facebook (14.9 million), and third on Instagram (27.9 million).