All quizzes
Free quiz · 49 questions in the bank

Nuxt quiz

Test your Nuxt knowledge with a free interactive quiz — 49 questions with answers and explanations. No signup needed to play.

Question 1/12Score 0

What is the naming convention for a GET-only API route at server/api/posts.get.ts?

In this round
  1. What is the naming convention for a GET-only API route at server/api/posts.get.ts?
  2. What command produces a fully static, prerendered build of a Nuxt site?
  3. What Nuxt module is most commonly used for global state shared across components (an alternative to a hand-rolled composable)?
  4. What does $fetch do compared to useFetch?
  5. What composable is used to set SEO meta tags like title and description reactively?
  6. What is the purpose of the layouts/ directory?
  7. What does definePageMeta do?
  8. What does readBody(event) do inside a Nitro POST handler?
  9. What does nuxt.config.ts primarily contain?
  10. What does bracket syntax like pages/posts/[slug].vue create?
  11. How do you read a dynamic route parameter named id in server/api/posts/[id].delete.ts?
  12. What does the pending value returned by useFetch/useAsyncData represent?
Gaps to close?
Read the curated Nuxt notes — core concepts, patterns, interview prep.
Nuxt notes

More quizzes

.NET.NET MAUIAbsintheAccessibilityActixActix Web