W
W
ward_ua2021-10-05 23:27:10
Node.js
ward_ua, 2021-10-05 23:27:10

Why does a CSS import error occur in a standard Next.js application?

The initial Next.js app (which is automatically created when npx create-next-app) gets a CSS import error:
615cb4af73784642068367.png
Funny thing is, the app asks to move global style imports from "pages\_app.js" to "pages/_app.js". I believe it's a backslash in the file path, but I have no idea how to fix it.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question