N
N
NameUser2021-10-21 17:00:56
React
NameUser, 2021-10-21 17:00:56

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>
6171726fc699b072835284.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
G
GlazOtca, 2021-10-21
@NameUser

See the answer to your question here

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question