Answer the question
In order to leave comments, you need to log in
Why does an error occur when connecting pdf?
Hello! It is necessary to include a pdf file, I'm going to open it via a link: I include the
file as follows: import catalog_KOP from '../../../files/catalog_KOP.pdf';
Error:
Apparently I'm not connecting the file correctly, I'm using next.js. How can this problem be solved?
<a href={filePdf}>pdf</a>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question