cyntler / cyntler/react-doc-viewer
Cant use local file
- Dominant language
- TypeScript
- Stars
- 481
- Forks
- 147
- PR merge metrics
- No merged PRs in 30d
Description
Hello i need help
How to use local file when i can use require?
I am using typescript + vite and everytime when i want to pass require shows me error require is no a function so now i dont know how to repair it?

Thanks for any help :)
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the local-file case in the TypeScript and Vite setup described in the issue, then inspect the documented file-loading entry point. Done means the local file loads without the reported require error; the issue does not name a source file or test to run.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript, vite
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100