rsnext/examples/with-ant-design
Todor Totev 795d9319a6
Fix with antd ssg (#13611)
Closes #12664 
Closes #13604 

The culprit was not only changing the library directory, but also having the icons version past 4.0.6. Also, the components which used the library had to be adjusted according to the new changes.

Confirmed that it works both in production and development. Confirmed that it builds on dev and production.

![Alt Text](https://media.giphy.com/media/dZ46aA1Rs7Oi1wSQKU/giphy.gif)
2020-06-01 19:08:59 +00:00
..
components Fix with antd ssg (#13611) 2020-06-01 19:08:59 +00:00
pages Fixing Redundant React imports on next.js/examples (#13384) 2020-05-26 15:03:58 +00:00
styles example: antd-4 with built-in css support (#11837) 2020-05-02 00:59:56 -04:00
.babelrc Fix with antd ssg (#13611) 2020-06-01 19:08:59 +00:00
next.config.js Upgrade to Prettier 2 (#13061) 2020-05-18 15:24:37 -04:00
package.json Fix with antd ssg (#13611) 2020-06-01 19:08:59 +00:00
README.md Suggest npx over npm init (#13637) 2020-06-01 17:36:57 +00: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:

npx create-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/vercel/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).