Next.js · Junior · Question 36 of 75
Where do you import global CSS in the App Router?
- ✓Correct answer: In the root
app/layout.tsxviaimport - 2In each
page.tsxseparately viaimport - 3Only via a
<link>tag inpublic/index.html
Explanation
Global styles are imported in the root layout and apply to all routes. For component styles, use CSS Modules (*.module.css), Tailwind or CSS-in-JS with RSC support. Next.js has no index.html file.