Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nextjs 中 createFromIconfontCN 报错 #589

Open
LengYXin opened this issue Aug 4, 2023 · 1 comment
Open

Nextjs 中 createFromIconfontCN 报错 #589

LengYXin opened this issue Aug 4, 2023 · 1 comment

Comments

@LengYXin
Copy link

LengYXin commented Aug 4, 2023

createFromIconfontCN 会转换为 @ant-design/icons/lib/icons/createFromIconfontCN

image

无其他代码只有 导入创建


import { createFromIconfontCN } from '@ant-design/icons';
const IconFont = createFromIconfontCN({
  scriptUrl: '//at.alicdn.com/t/font_8d5l8fzk5b87iudi.js',
});
console.log("LENG ~ IconFont:", IconFont);

Nextjs 13.4.12

@wwz223
Copy link

wwz223 commented May 7, 2024

有解决吗 @LengYXin

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants