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 purpose of the layouts/ directory?

In this round
  1. What is the purpose of the layouts/ directory?
  2. What is Nuxt?
  3. What is the relationship between useFetch and useAsyncData?
  4. What does nuxt.config.ts primarily contain?
  5. What command produces a fully static, prerendered build of a Nuxt site?
  6. What Vue/Nuxt component renders the currently matched page inside app.vue?
  7. What Nuxt module is most commonly used for global state shared across components (an alternative to a hand-rolled composable)?
  8. What does runtimeConfig.public expose compared to top-level runtimeConfig keys?
  9. What does readBody(event) do inside a Nitro POST handler?
  10. What function wraps a Nitro server route handler?
  11. What does $fetch do compared to useFetch?
  12. What is the naming convention for a GET-only API route at server/api/posts.get.ts?
Gaps to close?
Read the curated Nuxt notes — core concepts, patterns, interview prep.
Nuxt notes

More quizzes

.NETAccessibilityAgile MethodologyAlertmanagerAlgorithmsAndroid