Next.config.js #16965
-
Hi there! I'm just starting a project with Next.js as my very first try. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
For your first issue (adding image & SVG loading), you could use next-images which is a community plugin that allows you to use inline images in your components: // next.config.js
const withImages = require('next-images')
module.exports = withImages() For your second issue, do you have any more info you could share? That error means that it can't find the |
Beta Was this translation helpful? Give feedback.
Hi @paula-espana-fascinante!
For your first issue (adding image & SVG loading), you could use next-images which is a community plugin that allows you to use inline images in your components:
For your second issue, do you have any more info you could share? That error means that it can't find the
lib/api.js
module. Which file and folder are you referencing that from?