0

I was going to import img i got this err

Failed to load module script: The server responded with a non-JavaScript MIME type of "image/png". Strict MIME type checking is enforced for module scripts per HTML spec. Edit: import hills from './img/hills.png' console.log(platform)

24th Feb 2022, 3:48 PM
Dagota
Dagota - avatar
1 Answer
+ 4
Show your code, or a sample of it. I think something in your syntax is wrong
24th Feb 2022, 4:08 PM
Rishi
Rishi - avatar