Do you remember the Cuban Missile Crisis? As that's exactly the Cuban Missile Crisis. I think giving Taiwan nukes would force them to invade rather than risk being attacked with nukes.
Little known face is that Denmark had access to nukes during the cold war. They were not per se on Danish territory, but could be "collected" and deployed at very short notice.
That sounds like a really bad idea.
I think Taiwan, one of the most technologically advanced nations in the world, could make their own nukes if they wanted them.
China would intervene if they started a nuclear program. I was mostly being facetious. But it would be rather satisfying after China has spent the past few decades propping up North Korea and letting them develop nuclear weapons. If Taiwan all of a sudden was a nuclear power, that would pose a serious threat to China.
Taiwan did have a nuke program until the 80s(?). Of course starting to finalize a nuke program next to a nuclear power that doesn't like you sounds like a surefire way of forcing a decision now if you get caught.