Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Relative imports outside of src/ are not supported #120

Open
fkbeys opened this issue Aug 20, 2022 · 4 comments
Open

Relative imports outside of src/ are not supported #120

fkbeys opened this issue Aug 20, 2022 · 4 comments

Comments

@fkbeys
Copy link

fkbeys commented Aug 20, 2022

Module not found: Error: You attempted to import C:\Users\Adminx\Desktop\test.pdf which falls outside of the project src/ directory. Relative imports outside of src/ are not supported.
You can either move it inside src/, or add a symlink to it from project's node_modules/.

How can i preview local files that outside of the src?
thank you

@cyntler
Copy link

cyntler commented Aug 24, 2022

@fkbeys As you can see, this repo has not been updated for 2 years. I invite you to my fork: https://github.com/cyntler/react-doc-viewer

@fukemy
Copy link

fukemy commented Jul 18, 2024

@cyntler can you answer the question first?

@cyntler
Copy link

cyntler commented Jul 19, 2024

@cyntler can you answer the question first?

What is your question? I don't know.

@fukemy
Copy link

fukemy commented Jul 22, 2024

@cyntler can you answer the question first?

What is your question? I don't know.

sorry bro I did not see carefully your answer, I'd looking into your suggest, thansk for your library

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants