Learn Vue JS course Learn Javascript and Vue JS Learn VueJS course Learn VueJS Tutorial

Nuxt.js 3 Fundamentals

Nuxt Server API Routes thumbnail image

Get access to the most comprehensive Vue.js video library in the world. Over 300 video lessons including the newest Vue 3 features.

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