Preheat your oven to 350°F (175°C). Grease a baking dish or line it with parchment paper.
In a large mixing bowl, combine the grated sweet potatoes, flour, coconut milk, coconut sugar, raisins, melted coconut oil, vanilla extract, cinnamon, nutmeg, allspice, and salt. Mix well until all the ingredients are evenly incorporated.
Pour the sweet potato mixture into the prepared baking dish, spreading it out evenly.
Bake in the preheated oven for about 1 hour to 1 hour and 15 minutes, or until the pudding is firm and a toothpick inserted into the center comes out clean.
Remove the pudding from the oven and let it cool in the baking dish for about 10-15 minutes.
Once slightly cooled, you can cut the pudding into squares or desired shapes.
Serve the Jamaican Sweet Potato Pudding warm or at room temperature. It can be enjoyed on its own or with a dollop of vegan whipped cream or coconut yogurt.
Store any leftovers in an airtight container in the refrigerator. The pudding can be reheated gently in the microwave or oven before serving.
Enjoy this delightful vegan twist on Jamaican Sweet Potato Pudding!