Closed darwis059 closed 3 years ago
I am trying to add @ant-design/pro-layout to my nextjs project. its working on development with lazy import pro-layout component. but pro layout style is missing on production.
@ant-design/pro-layout
/home/darwis/dev/next-exmpl/with-type-script-app/node_modules/antd/es/layout/style/index.js:1 import '../../style/index.less'; ^^^^^^^^^^^^^^^^^^^^^^^^ SyntaxError: Unexpected string
Any solutions?
@darwis059 can you give me a demo repo to test?
I am trying to add
@ant-design/pro-layout
to my nextjs project. its working on development with lazy import pro-layout component. but pro layout style is missing on production.