ant-design / create-react-app-antd

Use antd in create-react-app without ejecting ✨
https://ant.design/docs/react/use-with-create-react-app
583 stars 196 forks source link

template update #133

Open florianwiech opened 4 years ago

florianwiech commented 4 years ago

Unfortunately react-app-rewired is outdated and does not support CRA 2.0. react-app-rewired shows some alternatives. One of those is craco. It is really easy to setup and offers recipes and plugins. With the use of craco and a plugin it is really easy to setup CRA with antd.

Here my template with create-react-app, antd & craco: https://github.com/florianwiech/react-antd-setup

I think this is a cleaner solution. If you want, you can use it for this template. ✌️

empz commented 4 years ago

I'm also wondering why this template doesn't use craco-antd.

aalmada commented 2 years ago

I submitted a PR upgrading to react 18 and using craco-antd: #307