Step 1
Last updated
Last updated
create-react-app
Take a look at the and make sure you have create-react-app
up and running.
Find your favorite Shopify store, eg. and download the list of products as JSON by going to the URL.
Add the downloaded file to your project, you will be able to import it as JSON in your code by doing:
⚠️ Importing a JSON file is made possible here because you are using create-react-app
. Under the hood, create-react-app
has a webpack configuration that allows you to import JSON file.