Nuxt.js 3 Fundamentals
Plans from $25/month

This lesson is for members. Join us?

Subscribe now to get instant access to this course, plus a full library of Vue.js courses tailored to the plan you choose.

Nuxt Server API Routes

In this lesson, we create the nested directory server/api to bootstrap quick support for REST API routes. Files created in this directory make api endpoints with little effort and some magic to coerce data to the proper format. Under the hood, Nuxt uses the unjs softwares Nitro and h3.

Links