BLACK FRIDAY - Get 35% off your Mastering Nuxt license!

Customize Nuxt Loading

In this example:

nuxt.config.js contains the loading property which modifies the default loader

pages/loading.vue programmatically starts the loader so we force the page to take 2 seconds to load

Learn more in the Features book in the Loading chapter.

Loading CodeSandbox...