I do apologize in advance, but in contrary to some of the suggestions proposed above, I have a different take on this.
You cannot just tear pages out of the 1962 Cuban Missile Crisis playbook and apply them onto the Taiwan-stationing-US-nuclear-weapons scenario.
You see, the USSR stationed her nuclear-tipped missiles on Cuba wasn't mainly because of previous attempts by the US to invade Cuba and overthrow Castro - It was mainly because the US having stationed her nuclear-tipped missiles in Turkey. That means what the Soviet did against the US in Cuba is a direct response to what the US did against the USSR in Turkey. There is a clear and obvious justification for the USSR's actions, because you can say it was a geopolitical and strategical reciprocacy.
The same cannot be said about Taiwan, China and the US.
Has China stationed any nuclear weapons in the immediate vicinity of the continental United States? No.
Has China directly threatened the US with her nuclear weapons first? No.
Besides, with the PTSD coming from the 1962 Cuban Missile Crisis, I don't think that any Latin American country would be brave enough to host Chinese nuclear weapons without risking open hostile response from the US, as long as there is no permanent PLA presence in Latin America, and/or there is no NATO-like military alliance between China and the Latin American countries.
Therefore, unlike the Soviets who actually had the viable means to "pay back" in case the US launched her nuclear missiles against the USSR from Turkey back then, China has nothing close to that, apart from her DF-31As, DF-41s, JL-2As and JL-3s.
Furthermore, if you want to force the US to pull her nuclear weapons out of Taiwan, it is almost certain that the US would demand certain concessions from China - such as China promising to never attack Taiwan, for instance.
Why? Because we have to speak from the realist POV, i.e. the US is the one having an edge over China in this scenario. Those American nukes stationed on Taiwan would only take a few minutes to reach Chinese cities, while the Chinese nukes would take tens of minutes to reach American cities. Not yet mentioned in this scenario would be the larger window of opportunity for the US and her allies to intercept Chinese nukes heading towards the US from China, compared to the very tiny window of opportunity for the PLA to intercept those American nukes heading towards China from Taiwan.
There exists a huge and glaring disparity of threats that both sides can put up against each other, which also renders any sort of MAD between China and the US redundant.
Furthermore, remember that Cuba is a sovereign nation and a full member state in the UN.
Taiwan is a renegade province of China, of which China vows to reunify the island under Beijing's control one day.
If China is somehow forced to agree to any kind of consession demanded by the US in exchange for the removal of American nuclear weapons from Taiwan, that would also mean that China would have:
1. Admitted China's own defeat;
2. Admitted that China cannot stand toe-to-toe and shoulder-to-shoulder in face of the United States;
3. Admitted that China is weak;
4. Admitted that China is incapable of protecting her national security and interests; and most importantly
5. Admitted that China agrees on the fact where Taiwan is an independent state, both de-jure and de-facto.
With that, how do you even expect the CPC to face the fury of the Chinese people?
In a nutshell, does anyone really believe China would accept that kind of concession demands? Nope.
Therefore, I believe that in case Taiwan does station nuclear weapons from the US, China would just launch her reunification war against Taiwan right away.
Yes, even if that means going into an open military conflict with the United States.
Because when you have nothing else to lose, what else would you be bothered with? Either you win big, or you die fighting - There is nothing else that you can do but fight until the very end.