SolidZORO / next-plugin-antd-less

🎩 Use Antd (Less) with Next.js v12, Zero Dependency on other Next-Plugins.
MIT License
345 stars 48 forks source link

Antd 4 custom theme config with nextjs after .less CSS files appended multiple times on DOM. #112

Open prakashmallow opened 1 year ago

prakashmallow commented 1 year ago

I have an issue with antd v4 with nextjs to use .less based antd custom theme to produce more than times same .less CSS files are appended many more times on DOM.

Screenshot 2023-04-18 at 12 28 38 AM Screenshot 2023-04-18 at 12 30 55 AM Screenshot 2023-04-18 at 12 25 16 AM
SolidZORO commented 1 year ago

This is OK if it is in development mode. Is there a problem in production mode?

prakashmallow commented 1 year ago

@SolidZORO Yes. I faced the above issue in production mode also.

Note: I have used nextjs v13

prakashmallow commented 1 year ago

@SolidZORO any update?

SolidZORO commented 1 year ago

@SolidZORO any update?

I haven't used next for a long time. I don't have time to deal with it recently. You can see if you can solve it by yourself.

hjdskhooba commented 7 months ago

Hello, does anybody know something to replace next-plugin-antd-less It seems like it's Incompatible with antd v5