API: The loading Property

The loading property gives you the option to disable the default loading progress bar on a specific page.

  • Type: Boolean (default: true)

By default, Nuxt.js uses its own component to show a progress bar between the routes.

You can disable or customize it globally through the Configuration's loading option, but also disable it for specific pages by setting the loading property to false :

  1. <template>
  2. <h1>My page</h1>
  3. </template>
  4. <script>
  5. export default {
  6. loading: false
  7. }
  8. </script>

You can find an official example using this property here.