Heat olive oil in a skillet on medium heat. Add onions and cook until translucent, about 5 minutes.
Add garlic. Cook 30 seconds longer.
Add spinach. Cook until wilted, about 2 minutes. Add salt and pepper.
Spread refried beans on one of the tortillas.
Layer the onion spinach mixture on top of the refried beans.
Sprinkle grated vegan cheddar on top of onion spinach mixture.
Top with the other tortilla.
Heat a pan on medium heat. If you are not using a non-stick pan, add coconut oil spray or oil. Place quesadilla in pan and fry until golden brown.
Carefully flip with a large spatula and cook the other side until golden brown.
Slice and serve.
Notes
*This recipe has been changed slightly since republishing it. I cooked the spinach and added cooked onions and garlic. I also changed the vegan cheese because the original one is no longer available.