Peel the sweet potatoes, boil them, and mash.
Add cream cheese, sugar, and eggs to the mashed sweet potatoes and mix.
Add flour and vanilla extract and mix until well combined.
Line the pan with parchment paper and pour in the batter.
Bake in a 180°C oven for 35-40 minutes.
Let it cool, then slice into pieces.