Trump was elected as a Republican president, a party that enjoys a majority.
Trump couldn't write or argue coherently for his repeal and replace, his total incompetence on any serious policy issue has made him fail to even get his majority party to pass anything.
That's on him, not the party.
Not that the Party managed to pull anything together that even they would all vote for and pass. Neither Trump nor the Party he did his hostile takeover on ever had a platform of projects they would accomplish to make America great again. All they had was resentment and anger at being passed over and losing election after election.
He and they managed to find the same anger among enough right-wing haters of blacks, women, immigrants and foreigners who they blamed for stealing their jobs, and channeled it alongside Party loyalty and establishment electoral stratagems to put together enough Electoral votes to shove Trump into the White House over the expressed opposition of a decided majority of Americans. So they lost, and Trump and 'his' Party won.
But now they haven't shown a hope of turning all that varied and inchoate anger into anything like a program that would leave the nation better than when they found it. If they suggest a progressive step, their reactionary wing shoots that foot to halt them, and if they settle for stalling at the minimum, their thinkers shoot that foot to get them moving.
The only thing that 'team' has been good for so far, is winning. Too bad the only way they knew how to do it was by tearing down everyone else. They won by making most Americans lose.
And Trump was only the figurehead, without the Party, Donald Trump would have been another Ross Perot or George Wallace. Now he lines up with Nixon and Dubya.