First of all, some history. As you might know, imperial China, before Qing, was very strong and no doubt one of the leading countries/kingdoms of the world. Although it has gone through multiple dynasties, it’s culture has endured, and still remain one of the world’s most known and important cultures.
During the Tang and the Ming dynasties, when China was at its peak, people, traders and delegates from countries as far as in Africa came to the Chinese court, to learn their customs, ways and technology. This was further enhanced by the Silk Road and Zheng He’s voyages. Two of the most notable country that learned from China was Japan and what is now Vietnam.
So, yes. Vietnam learned from China.
Look at the temple designs. Yes, there is a sign of their own cultures, but the roofs, the stairs, all of it are of Chinese culture.