Skip to content
Advertisement

How to configure next.config.js file on right way

In my next.config.js I have the following configuration:

JavaScript

Last thing which I need to add here is next-fonts plugin.

I am not sure how to export withFounts in the right way.

I need next-fonts plugin to be able to use 'fonts' icons.

Advertisement

Answer

You can do this:

JavaScript

You can try to use next-compose

User contributions licensed under: CC BY-SA
2 People found this is helpful
Advertisement