Add the vegan butter, sugar, bay leaves, garlic powder, smoked paprika, and lime juice.
Cook for 30 seconds, then add the apple cider vinegar and water (or vegetable stock).
Cut the onions into thick circles and arrange them in the pan.
Season with salt and pepper. Cover, lower the heat to medium-low, and cook for 10-12 minutes.
Uncover and let the liquid reduce by two-thirds.
Lay the puff pastry on top and bake in a preheated 180C (350F) oven for 20 minutes, or until the pastry is golden brown.
Flip the tart onto a plate and garnish with a generous amount of chopped parsley.
Notes
Best served warm, fresh from the oven. Store leftovers in an airtight container in the fridge for up to 3 days and reheat in the oven to keep the pastry crisp. For a gluten-free version, use a gluten-free vegan puff pastry.