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

Quick Reference Guide: Loading JSON from a file in a webpack app #99

Open
gstark opened this issue Oct 19, 2020 · 0 comments
Open

Quick Reference Guide: Loading JSON from a file in a webpack app #99

gstark opened this issue Oct 19, 2020 · 0 comments
Labels
good first issue Quick Reference Guide Relates to the misc/quick-reference-guides section of the handbook

Comments

@gstark
Copy link
Contributor

gstark commented Oct 19, 2020

Discuss how import cats from './octocats.json' works in a webpack (e.g. app-app) style app.

Show how to:

  • Copy paste JSON from an API example
  • Save it in a JSON file
  • Import that data into a JavaScript file as a named variable
  • Work with that data
@gstark gstark added Quick Reference Guide Relates to the misc/quick-reference-guides section of the handbook good first issue labels Oct 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Quick Reference Guide Relates to the misc/quick-reference-guides section of the handbook
Projects
None yet
Development

No branches or pull requests

1 participant