Open hazem-alabiad opened 1 year ago
Addon is broken per readme instructions in nextjs. same bug it crashes all the imports.
"antd": "^5.20.5",
"next": "14.2.7",
"@ant-design/nextjs-registry": "^1.0.1",
[Fix] Addon not necessary, theme customizer can be added directly in the story.
export const Buttons: Story = {decorators: [(Story) => {
return <AntdRegistry><ConfigProvider
theme={darkTheme}><Story /></ConfigProvider></AntdRegistry>}]};
I am using
Vite
as the development tool for my project. I installed the addon and configured it as shown in the docs however, when runningyarn storybook
I got this error: