'Babylon.js error "export not found" when adding fire library

I got this error:

export 'FireProceduralTexture' (imported as 'BABYLON') was not found in '@babylonjs/core'

I added these :

<script src="https://cdn.babylonjs.com/proceduralTexturesLibrary/babylon.fireProceduralTexture.js"></script>

<script src="https://babylonjs.azurewebsites.net/lib/babylon.fireMaterial.min.js"></script>

<script src="https://babylonjs.azurewebsites.net/lib/babylon.fireProceduralTexture.min.js"></script>

Still says the same error.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source