Files
Benjamin Woodruff ea927b583d Turbopack: Improve the description on InvalidLoaderRuleConditionIssue (#87008)
It's near-impossible to get this to error on the Rust side (issues are caught before we get here), but I hacked up the code to make it error. It looks like this:

![Screenshot 2025-12-09 at 4.39.24 PM.png](https://app.graphite.com/user-attachments/assets/796b5efa-b2e5-4a9c-bcf3-03cee0a0861d.png)
2025-12-12 12:51:14 -08:00
..
2025-04-23 20:48:58 -05:00

Basic CSS example

Next.js has built-in support for CSS Modules allowing you to write scoped CSS by automatically creating a unique class name. CSS Module files can be imported anywhere in your application and you don't have to worry about collisions.

Deploy your own

Deploy with Vercel

How to use

Execute create-next-app with npm, Yarn, or pnpm to bootstrap the example:

npx create-next-app --example basic-css basic-css-app
yarn create next-app --example basic-css basic-css-app
pnpm create next-app --example basic-css basic-css-app

Deploy it to the cloud with Vercel (Documentation).