R
R
ravshan selimov2021-02-16 14:18:48
Node.js
ravshan selimov, 2021-02-16 14:18:48

How to use third party ui libraries in next.js?

Hello.
Trying to use ant design in next.js.
I use this code and it gives me a warning
import {Button} from 'antd'

You are using a whole package of antd, please use https://www.npmjs.com/package/babel-plugin-import to reduce app bundle size.


is there a way to use antd-design without this plugin

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question