未验证 提交 81679856 编写于 作者: L Luis Alvarez D 提交者: GitHub

Mention required version for global CSS imports in node_modules (#17506)

Fixes https://github.com/vercel/next.js/issues/17505
上级 f06c5891
......@@ -52,7 +52,7 @@ In production, all CSS files will be automatically concatenated into a single mi
### Import styles from `node_modules`
Importing a CSS file from `node_modules` is permitted in anywhere your application.
Since Next.js **9.5.4**, importing a CSS file from `node_modules` is permitted anywhere in your application.
For global stylesheets, like `bootstrap` or `nprogress`, you should import the file inside `pages/_app.js`.
For example:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册