Line a 10cm x 20cm loaf tin with non-stick baking paper. Place the dates, peanut butter and vanilla in a food processor and process for 2–4 minutes or until the mixture comes together into a paste.