Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Install the create-react-app CLI
```
```bash
npm install -g create-react-app
```

Expand All @@ -14,7 +14,7 @@ npm run eject
```

# Hook up CSS modules
```
```js
// change: webpack.config.dev.js
{
test: /\.css$/,
Expand Down Expand Up @@ -58,7 +58,7 @@ npm i autoprefixer postcss-initial postcss-import postcss-mixins postcss-nested
# Now setup a postCSS config file:

Inside `/config` folder create a postcss.config.js file
```
```js
var postCSSConfig = [
/* autoprefix for different browser vendors */
require('autoprefixer'),
Expand Down Expand Up @@ -156,7 +156,7 @@ module.exports = {

## Using ClassNames

```
```jsx
import React, { Component } from 'react';
import logo from './logo.svg';
import styles from './App.css';
Expand Down