Preheat oven to 350°F (175°C).
Boil sweet potatoes in salted water until soft, about 15-20 minutes. Drain and mash.
Mix mashed sweet potatoes with coconut oil, maple syrup, vanilla, cinnamon, and salt.
Spread the mixture into a baking dish.
In a small bowl, mix oats, pecans, coconut oil, maple syrup, and cinnamon for the topping.
Sprinkle topping over the sweet potatoes.
Bake for 20-25 minutes until the top is golden and crispy.