rsnext/examples/with-ant-design
2020-05-02 00:59:56 -04:00
..
pages example: antd-4 with built-in css support (#11837) 2020-05-02 00:59:56 -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 example: antd-4 with built-in css support (#11837) 2020-05-02 00:59:56 -04:00
package.json example: antd-4 with built-in css support (#11837) 2020-05-02 00:59:56 -04: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).