Open5
next13 approuterに慣れる
こちらの記事を参考に進める
いつもの
tailwind使ってるとh1タグとか反映されないっぽい 初知り
Next.js内のAPIのはなしを知らなすぎるかも
これよむAPI Router なに
API routes provide a solution to build a public API with Next.js.
Any file inside the folder pages/api is mapped to /api/* and will be treated as an API endpoint instead of a page. They are server-side only bundles and won't increase your client-side bundle size.
Nextだけで全部できちゃうってコト…?!
Good to know: If you are using the App Router, you can use Server Components or Route Handlers instead of API Routes.
なんやねん