Take a look at the Ant documentation to learn more
Install dependencies by navigating to the ant-design-components
folder on your CLI and running the following:
npm install
Run the dev server:
npm run dev
If you want to deploy to GitHub pages (as a live website):
- Create a new GitHub repo and push this
ant-design-components
code to your repo. - 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).