Take a pan, line with parchment paper or foil and grease it lightly with oil or butter. Set aside.
In a dry pan, add oats and toast them for 2 mins. Remove them to the plate as well.
Now in the same pan, take brown sugar, coconut oil and water and mix them well. Bring it to a boil. Now boil this for 1 min. Take it off the heat, add vanilla and salt. Mix well.
Add cranberries and coconut and mix well. Add in oats and mix well.
Spoon this in the prepared pan and smooth the top. Set this in fridge for 30 mins.
Now remove it and slice. Serve or store it in an airtight container.