To prepare the apple filling, peel and core the apples. Cut them into thick slices.
Melt the butter in a skillet and stir in the vanilla sugar. Add the apples and sauté for 5 minutes, until lightly caramelized. Remove from the pan and let cool completely.
To prepare the tart shell, divide the pastry dough into two pieces, one slig