Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

classname did not match server next js styled components

Add { styledComponents: true } to your next.config.js file

const nextConfig = { 
  reactStrictMode: true,
  compiler: { styledComponents: true }, 
};

module.exports = nextConfig;
 
PREVIOUS NEXT
Tagged: #classname #match #server #js #styled #components
ADD COMMENT
Topic
Name
3+7 =