Switching from a Vue.js background to starting with Next.js, I want to scope my CSS for each component such as Navbar instead of using it inside Globas.css. Is there a way to achieve this?
I am also utilizing the Tailwind CSS library.
I attempted creating individual CSS files for each component like Angular and importing them into each component, but it did not work out as expected.
Here is what my current folder structure looks like: