../node_modules/.store/antd@4.24.10/node_modules/antd/es/affix/style/index.less
Module parse failed: Unexpected character '@' (1:0)
index.js?e493:594 Uncaught ModuleParseError: Module parse failed: Unexpected character '@' (1:0)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file.
@root-entry-name: default;
|
| @import './index-pure.less';
Hey @liaodalin19903, nice to read you. Have you tried to load them in the next.config file? For tierce librairies with components and styling you must load them with webpack.
nextron don't recognize less file in node_modules
demo project in there: https://codesandbox.io/s/fv7cod