Relative imports outside of src/ are not supported
Opened this issue · 2 comments
fkbeys commented
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 commented
@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