Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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
You can’t perform that action at this time.