I'm using Tailwind with Next
I have a situation where I use the css background url ( bg-[url('/path.webp')] in tailwind to be precise. But now I run into slow image loading issues. Was wondering if I can use the Next Image component instead hoping it would optimize and improve loading speeds
I have created a minimum reproducible example
https://github.com/cmgchess/next-bg-image
https://stackblitz.com/~/github.com/cmgchess/next-bg-image
Help much appreciated š
GitHub
Contribute to cmgchess/next-bg-image development by creating an account on GitHub.