react-stripe-elements

(โ˜… 3,011)

Moved to stripe/react-stripe-js.

  • .babelrc
  • .eslintrc.yml
  • .flowconfig
  • .gitignore
  • .prettierignore
  • .prettierrc.yml
  • .travis.yml
  • CHANGELOG.md
  • CONTRIBUTING.md
  • LICENSE
  • package.json
  • README.md
  • webpack.config.js
  • webpack.config.prod.js
  • yarn.lock

# Installation Guide

1. Get the code
git clone https://github.com/stripe-archive/react-stripe-elements

Downloads the entire project code from GitHub to your computer.

cd react-stripe-elements

Moves into the project folder you just downloaded.

2. Node.js

Easy Recommended
Prerequisites
  • Git Needed to download the project code from GitHub.
  • Node.js Node.js must be installed to use npm. The LTS version is recommended.
yarn install

Downloads and installs the libraries listed in package.json.

yarn run demo

Type this command into your terminal and run it.

yarn add react-stripe-elements

Type this command into your terminal and run it.

npm install --save react-stripe-elements

Downloads and installs the libraries listed in package.json.

yarn run test

Type this command into your terminal and run it.

โœ… After running the command, open the address shown in the terminal (usually something like http://localhost:3000) in your browser.

Pulled directly from this repo's README.

// repository documentation