Preheat your oven to 350°F (175°C).
Prepare the sweet potatoes by boiling them until tender, about 20-25 minutes.
Drain the sweet potatoes and let them cool slightly, then peel and mash until smooth.
In a large bowl, combine the mashed sweet potatoes, coconut milk, brown sugar, flour, cinnamon, nutmeg, vanilla extract, and salt.
Pour the mixture into a greased baking dish.
Bake for approximately 45-50 minutes, or until set and golden on top.
Once baked, allow the pudding to cool slightly before serving.
Serve warm or at room temperature, garnished with additional coconut or whipped cream if desired.