Deploy your own SWR project with Vercel.
Download the example:
curl https://codeload.github.com/vercel/swr/tar.gz/main | tar -xz --strip=2 swr-main/examples/axios-typescript
cd axios-typescript
Install it and run:
yarn
yarn dev
# or
npm install
npm run dev
Show how to use the basic axios along with TypeScript to type both the request object and the data received from SWR.