I need my css stylesheet split into many files, one per each Next.js page. How to implement this?
I tried to use
next-css and just import a css-file into each page. It almost works. However the css-file is not loaded on Link navigation. Authors of Next say it’s not implemented:
I also tried using
styled-jsx. It has several problems for me. It has many bugs on its Issues page. I also failed to make styles visible throughout child components with this approach.