Skip to content

Latest commit

 

History

History
31 lines (21 loc) · 1015 Bytes

README.md

File metadata and controls

31 lines (21 loc) · 1015 Bytes

Ant Design Component Documentation

Take a look at the Ant documentation to learn more

Installation

Install dependencies by navigating to the ant-design-components folder on your CLI and running the following:

npm install

Running Your React App Locally

Run the dev server:

npm run dev

Deploying to GitHub Pages

If you want to deploy to GitHub pages (as a live website):

  1. Create a new GitHub repo and push this ant-design-components code to your repo.
  2. Run the following deployment script:
npm run deploy

This command runs a third-party script called gh-pages, which builds your react code, and then pushes it to a new branch called gh-pages (you can take a look once you run the command on GitHub).

Here's a demo of what it should look like. Make sure your repo is a public repo or your GitHub pages won't work (unless you have an EDU or paid account).