Preheat your oven to 350°F (175°C) and grease an 8x8-inch baking dish or line it with parchment paper.
In a large mixing bowl, combine the sweetened shredded coconut, all-purpose flour, sweetened condensed milk, granulated sugar, melted butter, vanilla extract, and salt. Mix until well combined.
Pour the coconut mixture into the prepared baking dish and spread it out evenly.
Bake for 25-30 minutes until the edges are golden brown and the center is set.
Let the bars cool in the pan for about 10 minutes, then transfer to a wire rack to cool completely before cutting into squares.