try passing the progress parameters in createInertiaApp function
createInertiaApp({
progress: {
color: '#ff0',
includeCSS: false,
showSpinner: false,
},
title: (title) => `${title} - ${appName}`,
//
resolve: (name) => resolvePageComponent(`./Pages/${name}.vue`, import.meta.glob("./Pages/**/*.vue")),
setup({ el, app, props, plugin }) {
return createApp({ render: () => h(app, props) })
.use(plugin)
.mixin({ methods: { route } })
.mount(el);
},
});
aslo you could inspect your page and this html should be appended to your html code while routing to any inertia route
<div id="nprogress"
style="transition: all 200ms linear 0s; opacity: 0;">
<div class="bar" role="bar"
style="transform: translate3d(0%, 0px, 0px); transition: all 200ms ease 0s;">
<div class="peg"></div>
</div>
<div class="spinner" role="spinner">
<div class="spinner-icon"></div>
</div>
</div>
if appended the issue should be due to the css or something