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 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
:
<template>
<h1>My page</h1>
</template>
<script>
export default {
loading: false
}
</script>
Edit this page on GitHub
Updated at Wed, Apr 3, 2024
Sébastien Chopin
川音리오
Maciek Palmowski
Nestor Vera
Daniel Roe
Yue Yang
Jeronimas
Clément Ollivier
Alexander Lichter
N3-rd
Adrien Zaganelli
Mag
Stefan Huber
Olga Bulat
Paiva
Florian Reuschel
Rishi Raj Jain
Savas Vedova
Steven Soekha
Vinícius Alves
Kareem Dabbeet
Valentín Costa
Ryan Skinner
Alex Hirzel
Ajeet Chaulagain
René Eschke
Nico Devs
Muhammad Bin Shehzad
Nazaré da Piedade
Naoki Hamada
Tom
Yann Aufray
Anthony Chu
Nuzhat Minhaz
Lucas Portet
Richard Schloss
Bobby
bpy
Antony Konstantinidis
Hibariya
Jose Seabra
Eze
Florian Lefebvre
Lucas Recoaro
Julien SEIXAS
Sylvain Marroufin
Spencer Cooley
Piotr Zatorski
Vladimir Semyonov
Harry Allen
kazuya kawaguchi