Is there an ideal way to do theming in Next.js? We have two themes which each have entry points that we import based on user settings. We then render via `page.tsx` files in the app directory. The issue we run into is somehow we end up with styles from both themes at once. cc @leerob.com
Post
Next.js seems to "find" all the other theme files and build them, resulting in a stylesheet with styles from both globals.css files. How can we tell Next to ignore the other theme? The themes are in the same `src` directory in the package. Is that the cause perhaps?
0 reposts0 likes
No replies yet.