nextjs-geistui-swr-example
This is a sample using TypeScript
, Vercel
, Next.js
, Geist-UI
, SWR
, and React Context API
.
This is a Vercel-friendly
sample using Vercel products.
TypeScript
, Vercel
, Next.js
, Geist-UI
, SWR
, React Context API
Vercel Vercel
react-context-devtool
Chrome / FireFox / MS Edge
git clone https://github.com/treetips/nextjs-geistui-swr-example.git
cd nextjs-geistui-swr-example
npm i
npm run dev
git clone https://github.com/treetips/nextjs-geistui-swr-example.git
cd nextjs-geistui-swr-example
npm i --production
npm run build
npm start
Although I use jsons-server
as the API server in the local environment
, in the production environment (live demo)
, I want to make it in-memory for the browser, so I have implemented the API independently with Next.js.