rsnext/examples/with-ant-design
2020-05-18 17:44:18 -04:00
..
components Fix DatePicker Day.js bug in Ant Design example (#12580) 2020-05-07 16:29:42 -05:00
pages Update Examples for Fast Refresh (#13068) 2020-05-18 17:44:18 -04:00
styles example: antd-4 with built-in css support (#11837) 2020-05-02 00:59:56 -04:00
.babelrc example: antd-4 with built-in css support (#11837) 2020-05-02 00:59:56 -04:00
next.config.js Upgrade to Prettier 2 (#13061) 2020-05-18 15:24:37 -04:00
package.json Fix DatePicker Day.js bug in Ant Design example (#12580) 2020-05-07 16:29:42 -05:00
README.md Rename ZEIT to Vercel (#12075) 2020-04-21 11:47:12 +02:00

Ant Design example

This example shows how to use Next.js along with Ant Design of React. This is intended to show the integration of this UI toolkit with the Framework.

Deploy your own

Deploy the example using Vercel:

Deploy with Vercel

How to use

Using create-next-app

Execute create-next-app with npm or Yarn to bootstrap the example:

npm init next-app --example with-ant-design with-ant-design-app
# or
yarn create next-app --example with-ant-design with-ant-design-app

Download manually

Download the example:

curl https://codeload.github.com/zeit/next.js/tar.gz/canary | tar -xz --strip=2 next.js-canary/examples/with-ant-design
cd with-ant-design

Install it and run:

npm install
npm run dev
# or
yarn
yarn dev

Deploy it to the cloud with Vercel (Documentation).