Chapter quiz · State, Composables & Modules

Test what you learned.

8 questions on State, Composables & Modules. Pass 70% to clear the chapter.

← Review chapter lessons

Quiz

State, Composables & Modules — Chapter Quiz

Eight questions covering useState, Pinia, runtime config, plugins, and modules.

0/ 9
  1. Question 1
    1

    What does useState('counter', () => 0) return?

  2. Question 2
    2

    Which module wires Pinia into Nuxt?

  3. Question 3
    3

    Composables placed in composables/ are auto-imported across the app.

  4. Question 4
    4

    Where do you put secrets that should be available only on the server?

  5. Question 5
    5

    What suffix marks a plugin as client-only?

  6. Question 6
    6

    @nuxt/_____ is the official image-optimization module.

  7. Question 7
    7

    What does @nuxt/content give you?

  8. Question 8
    8

    How are values from runtimeConfig accessed?

    Select all that apply.

Pick an answer — instant feedback as you go.