mirror of
https://github.com/zhigang1992/create-react-app.git
synced 2026-03-29 17:08:15 +08:00
This reverts commit 11f1aa09b3.
This commit is contained in:
@@ -24,6 +24,7 @@ You can find the most recent version of this guide [here](https://github.com/fac
|
||||
- [Importing a Component](#importing-a-component)
|
||||
- [Code Splitting](#code-splitting)
|
||||
- [Adding a Stylesheet](#adding-a-stylesheet)
|
||||
- [Adding a CSS Modules stylesheet](#adding-a-css-modules-stylesheet)
|
||||
- [Post-Processing CSS](#post-processing-css)
|
||||
- [Adding a CSS Preprocessor (Sass, Less etc.)](#adding-a-css-preprocessor-sass-less-etc)
|
||||
- [Adding Images, Fonts, and Files](#adding-images-fonts-and-files)
|
||||
@@ -515,7 +516,6 @@ In development, expressing dependencies this way allows your styles to be reload
|
||||
|
||||
If you are concerned about using Webpack-specific semantics, you can put all your CSS right into `src/index.css`. It would still be imported from `src/index.js`, but you could always remove that import if you later migrate to a different build tool.
|
||||
|
||||
<!---
|
||||
## Adding a CSS Modules stylesheet
|
||||
|
||||
This project supports [CSS Modules](https://github.com/css-modules/css-modules) alongside regular stylesheets using the **[name].module.css** file naming convention. CSS Modules allows the scoping of CSS by automatically creating a unique classname of the format **[filename]\_[classname]\_\_[hash]**.
|
||||
@@ -562,7 +562,6 @@ No clashes from other `.error` class names
|
||||
```
|
||||
|
||||
**This is an optional feature.** Regular html stylesheets and js imported stylesheets are fully supported. CSS Modules are only added when explicitly named as a css module stylesheet using the extension `.module.css`.
|
||||
-->
|
||||
|
||||
## Post-Processing CSS
|
||||
|
||||
|
||||
Reference in New Issue
Block a user