Skip to content

abrahamgnanasingh/AddReactToAWebsite

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Add React To A Website

A simple app for adding React to an existing website

Babel Plugin Ordering

Learn about Babel Plugin Ordering on https://babeljs.io/docs/en/plugins#plugin-ordering

Steps to run

You’ll need to have Node 8 or later version on your local development machine.

  1. Clone the repository using git clone https://github.com/abrahamgnanasingh/AddReactToAWebsite.git
  2. Go to the root folder and do npm install
  3. Do npm start
  4. Open index.html in browser

Available Scripts

In the project directory, you can run:

npm start

Runs npx babel --watch src --out-dir build (npx comes with npm 5.2+ and higher) and continuously watching for file changes in src folder and generates *.js files (which browser understands) in build folder

npm run build

Generates *.js files (which browser understands) in build folder for production

React

Learn about React on https://reactjs.org

Hooks

Learn about Hooks on https://reactjs.org/docs/hooks-intro.html

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published