From 8b6f5656cd2007aea8ff5b469cd7b1e870b247fe Mon Sep 17 00:00:00 2001 From: Dawson Botsford Date: Tue, 14 Nov 2017 14:28:35 -0800 Subject: [PATCH] Syntax highlight all the things --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 2974c33..9b1cbf4 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ # Install the create-react-app CLI -``` +```bash npm install -g create-react-app ``` @@ -14,7 +14,7 @@ npm run eject ``` # Hook up CSS modules -``` +```js // change: webpack.config.dev.js { test: /\.css$/, @@ -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'), @@ -156,7 +156,7 @@ module.exports = { ## Using ClassNames -``` +```jsx import React, { Component } from 'react'; import logo from './logo.svg'; import styles from './App.css';