/react_fundamentals

projects from react training course and integrating it using firebase

Primary LanguageJavaScript

React Terminal Installation

  • react, react dom, react router (for React library)
  • babel (transforms our JSX and ES6 into JS)
  • webpack (transpile our code into a JS)
  • css (webpack to transpile our css)

In your directory for your project

  1. Create package.json by using

npm init Keep clicking enter to confirm changes

  1. Install react/react-dom

npm install react react-dom react-router-dom —-save

  1. Install babel

npm install babel-core babel-loader babel-preset-es2015 babel-preset-react —-save-dev

  1. Install webpack

npm install webpack webpack-dev-server html-webpack-plugin —-save-dev

  1. Install css/style loader

npm install css-loader style-loader —save-dev