Closed mholovko closed 1 year ago
Hello!
When using styled-components with nextjs it is necessary to inform the compiler in the next.config.js
file.
// uncomment the following snippet if using styled-components
// compiler: {
// styledComponents: true,
// },
I will let this issue open until I automatized this in the create-r3f-app starter.
https://github.com/utsuboco/create-r3f-app/commit/2a12912b8630a103ab674e74adcf44d6d003c0c3 install the config automatically now 👍
Unstyled elements after page reload, using styled components template.