I created a codegen project using yarn create plasmic-app
and associate it with a plasmic studio project that uses antd
. I instantly ran into this error:
you also need to install @plasmicpkgs/antd
After further investigation, I think the issue come from the recent release of antd@5 (https://ant.design/changelog). If I downgrade to antd@4 it works. Otherwise, changing the import statements would work too with antd@5.
I think the plasmic default config should specify the antd version it uses to prevent this type of issues in the future
oh! thank you