Loading data from external json in newest F7 version

Sorry to ask but…

Can anyone share code samples or tutorials for basic example of Loading external Json into the app using the “latest” version f7?

In the new version, there is store.js and I dont know what to do with it. Also i know it stores data but the data to fetch is from mysql which to be processed by PHP … and print the data in JSON format.

Thanks for those who answer.

Try this.

  const url = "https://sheetjs.com/executive.json";
  const data = await (await fetch(url)).json();

It should be inside async method.

const fetch_json = async () => {
  const url = "https://sheetjs.com/executive.json";
  const data = await (await fetch(url)).json();
}