In a mixing bowl, beat 1/4 cup sugar and 1 teaspoon vanilla extract into butter until creamy.
Add 1 cup of flour and mix until well blended. Press the mixture into molder. Prick the base with fork, and bake for 165°C (325°F) for 15 - 20 minutes.
When the base is ready, put the coconut filling over the baked base. Baked for 10 - 15 minutes in 190°C (375°F) or until the coconut flakes turn brown.