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

Updated react.md to fix a file path error in example code #1132

Closed
wants to merge 2 commits into from

Conversation

aaronjlafitte
Copy link

During the example step of including routeStaticFilesFrom, in the main.ts file, it expects a path of "./util/routeStaticFilesFrom.ts".

But the step fails to mention the creation of that folder. Just made a small modification to the documentation to add the routeStaticFilesFrom.ts into a util folder.

Verified that I was able to now successfully run the deno task serve command after making this change.

aaronjlafitte and others added 2 commits November 11, 2024 15:01
During the example step of including `routeStaticFilesFrom.ts`, in the `main.ts` file, it expects a path of "./util/routeStaticFilesFrom.ts". But the step fails to currently mentions the creation of that folder. Just made a small modification to fix it.
@thisisjofrank
Copy link
Collaborator

Ah, this has been fixed in another PR by swapping the import from /util/ to /api/.
Thank you for spotting it though!

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

Successfully merging this pull request may close these issues.

2 participants