## Changes: - /docs is now a Getting Started page with the first tutorial - basic-example added
6 lines
143 B
TypeScript
6 lines
143 B
TypeScript
export default async function loadData(url: string) {
|
|
const response = await fetch(url)
|
|
const data = await response.text()
|
|
return data
|
|
}
|