Next.js SSG + TypeScript, json file read

jamstack-ex20ts

Version: 0.9.1

Author  : Kouji Nakashima / kuc-arc-f.com

date    : 2021/10/31

update :


License

Licence : MIT License


Summary

Next.js SSG + TypeScript, json file read

  • next.js 11

  • react :17

  • typescript : 4.4


Setup

.env , JSON URL setting

MY_JSON_URL=http://localhost/cms.json

start

  • npm install

  • yarn dev


sample URL

https://cms-kuc-jamstack-ex20.netlify.app/


Blog :

https://zenn.dev/knaka0209/books/4ee53bad905ec2/viewer/93f09a


GitHub

View Github