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

cannot use `import` to import `.less` files,must use `require`? #109

Open mylesshie opened 1 year ago

mylesshie commented 1 year ago

if i use import to import .less file, it doesn't work well, must use require.

SolidZORO commented 1 year ago

yes. known issue. https://github.com/SolidZORO/next-plugin-antd-less#how-to-import-global-css-style-eg-stylescss