Next.js Discord

Discord Forum

image optimization question

Unanswered
Sweat bee posted this in #help-forum
Open in Discord
Sweat beeOP
I am using tailwind and their breakpoints for my responsive webdesign.

I found in the next docs I can specify device sizes like (default):

module.exports = {
images: {
deviceSizes: [640, 750, 828, 1080, 1200, 1920, 2048, 3840],
},
}

does it make sense to take the breakpoints from here https://tailwindcss.com/docs/responsive-design and place them to the deviceSizes?

0 Replies