Skip to content

This is a demo of using a React Component Library. In this case, we'll use Ant Design.

Notifications You must be signed in to change notification settings

cs-at-unca/ant-design-components

Repository files navigation

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).

About

This is a demo of using a React Component Library. In this case, we'll use Ant Design.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published