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

Explain in docs how to import JSON files / read static files in Wasp on the server #1564

Open
Martinsos opened this issue Nov 8, 2023 · 1 comment
Labels
documentation Improvements or additions to documentation

Comments

@Martinsos
Copy link
Member

Right now it is a bit tricky because you can directly import .json with node (at least 18), and people get surprised with it because error message is confusing (claims there is no file).

I explained how to go about it here: https://discord.com/channels/686873244791210014/1171780998699171841/1171780998699171841 .

We could add a small section in docs that covers this, since we had multiple people ask about this so far, even if it is not really Wasp-specific issue.

@Martinsos Martinsos added the documentation Improvements or additions to documentation label Nov 8, 2023
@Martinsos Martinsos changed the title Explain in docs how to import JSON files in Wasp on the server Explain in docs how to import JSON files / read static files in Wasp on the server Feb 16, 2024
@Martinsos
Copy link
Member Author

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

No branches or pull requests

1 participant