Mix all the vegan egg mixture ingredients together and set aside.
Preheat oven to 180C (350F).
For the spinach layer, add all the ingredients to a pan and cook on medium heat until the spinach and the onions are cooked and all of the water has evaporated.
On a lightly oiled baking dish, first pour in the spinach mixture and top it with the egg mixture, making sure it’s evenly coated.
Bake for 20-25 mins or until golden brown. You can enjoy this warm or I prefer to let it set in the fridge for about an hour.