Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
N
next.js
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Alex
next.js
Commits
81679856
Unverified
Commit
81679856
authored
Oct 01, 2020
by
Luis Alvarez D
Committed by
GitHub
Oct 01, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Mention required version for global CSS imports in node_modules (#17506)
Fixes
https://github.com/vercel/next.js/issues/17505
parent
f06c5891
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
built-in-css-support.md
docs/basic-features/built-in-css-support.md
+1
-1
No files found.
docs/basic-features/built-in-css-support.md
View file @
81679856
...
...
@@ -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:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment