azcn2503 / example-nextjs-scss-app

An example of a Next.js app using external SCSS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

example-nextjs-scss-app

  • Install dependencies with yarn
  • Run yarn run dev
  • It errors

The error is:

Failed to compile.

../example-nextjs-scss-module/styles.scss 1:5
Module parse failed: Unexpected token (1:5)
You may need an appropriate loader to handle this file type.
> body {
|   background-color: red;
| }

About

An example of a Next.js app using external SCSS


Languages

Language:JavaScript 100.0%