Skip to content

Instantly share code, notes, and snippets.

@kusakusakusa
Last active August 20, 2017 07:04
Show Gist options
  • Save kusakusakusa/3ef5ef8baf7efc37097f4071c49c1d90 to your computer and use it in GitHub Desktop.
Save kusakusakusa/3ef5ef8baf7efc37097f4071c49c1d90 to your computer and use it in GitHub Desktop.
setup for static site on React and React-router only (no Redux)
{
"presets": ["react", "es2015", "stage-0"]
}
npm install --save react \
react-router-dom \
jquery \
webpack-dev-server \
babel-core \
babel-loader \
babel-preset-es2015 \
babel-preset-react \
babel-preset-stage-0 \
lodash \
webpack \
style-loader \
css-loader \
resolve-url-loader \
sass-loader \
file-loader
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment