I don't know how though. The Chinese carriers are total garbage for projecting power, the reason why people joke about ski-ramp carriers is that in order to take off from them, you have to sacrifice load. Those fighters can't launch quickly, can't carry much fuel, can't carry a significant amount of ordinance and then would have to penetrate an air-defense network still at least a generation ahead of them. Their subs are right out, there's always at least one SSN with a battlegroup and in an actual war there'll be more out there hunting. The squids are still good.
Never mind an Ohio SSGNs launching the mother of all cruise missile strikes from beyond the range that the Chinese can respond. Their Navy looks nice and clean and painted and such, but that's because they never really go anywhere or do anything. Almost all Chinese military doctrine is theory, they have almost no real practice and none against peers. That matters. Take Japan, they'll have their Not Carriers ready in a few years, but it'll take much longer to get them back to speed on proper carrier group operations. They've been out of that business for decades and it'll probably take at least one to get the experience to really do it well. The Chinese have nothing in terms of practical experience.
Afghanistan is kind of a special case that no one can really deal with, that's why it's the graveyard of Empires. The last Chinese got practical military experience it was fighting the Jungle Asians that they share a land border with and getting their asses kicked. They got into a stick fight with the street shitters and neither side accounted for it self well. The Chinese want you to see them as some hyper-competent military juggernaut because they're all about face. They march well, because it looks impressive, their navy is all nice and freshly painted because it looks impressive. They want to distract you from an army full of manlets that's never been in a serious fight and a navy that looks good because it does fuck all. Face is everything to China and they don't like to fight because historically they've sucked at everything but attrition warfare. And even then how many times did China get its ass kicked by foreign powers on their own soil?
The answer is "all the fucking time." China sucks donkey nuts at any war that's not a Civil War.