Nuxt Layers - Part I
  • Nuxt Layers - Part I

    Learn about Nuxt Layers and how they can be used to organize your Nuxt application.

    8 Questions
  • 1

    Nuxt Layer Identification

    Which one of the following is required for a directory to be classified as a Nuxt Layer?

  • 2

    Starter Template

    Fill in the missing part of Nuxt Layer starter template command. `npx nuxi init --template name-of-the-nuxt-layer`
  • 3

    Use-cases

    Select all applicable use-cases of Nuxt Layer?

  • 4

    Layer vs Module

    Nuxt Layers and Nuxt Modules are exactly identical features.

  • 5

    UnJs

    Nuxt Layers are powered by which of the following package from UnJs ecosystem?

  • 6

    Nuxt Directories

    Which of the following Nuxt directories are layer-able?

  • 7

    Nuxt Layers

    Which of the following Nuxt files are layer-able?

  • 8

    Build-time Context

    How can we check for the presence of Nuxt Layers within defineNuxtModule while authoring Nuxt Modules?

    export default defineNuxtModule({
      setup(_options, nuxt) {
        // ...
      }
    })