Skip to content

Instantly share code, notes, and snippets.

@tylermcginnis
Created April 16, 2016 17:30
Show Gist options
  • Star 9 You must be signed in to star a gist
  • Fork 3 You must be signed in to fork a gist
  • Save tylermcginnis/e61a7b6ec52e3db4c66926bfa79b4df0 to your computer and use it in GitHub Desktop.
Save tylermcginnis/e61a7b6ec52e3db4c66926bfa79b4df0 to your computer and use it in GitHub Desktop.
npm install --save react react-dom && npm install --save-dev html-webpack-plugin webpack webpack-dev-server babel-{core,loader} babel-preset-{react,es2015,stage-0} style-loader css-loader
@GroomedGorilla
Copy link

For all it's worth (as obvious as it may be to some), this didn't work on windows but opening up the babel tags to the following did:

npm install --save react react-dom && npm install --save-dev html-webpack-plugin webpack webpack-dev-server babel-core babel-loader babel-preset-react babel-preset-es2015 babel-preset-stage-0 style-loader css-loader

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment