nuxt / bridge

🌉 Experience Nuxt 3 features on existing Nuxt 2 projects
MIT License
273 stars 29 forks source link

Missing ability to display a progress bar for SPA apps #679

Open dionearle opened 1 year ago

dionearle commented 1 year ago

Environment

Operating System: Linux Node Version: v16.18.0 Nuxt Version: 2.16.0-27720022.54e852f Nitro Version: 1.0.0 Package Manager: npm@8.19.2 Builder: webpack User Config: ssr, head, loading, loadingIndicator, modules, buildModules, vuetify, runtimeConfig, serverHandlers, devServerHandlers, devServer, typescript, bridge Build Modules: (), @nuxtjs/vuetify@1.12.3, @nuxt/bridge@3.0.0-27851925.695ddd7

Reproduction

N/A

Describe the bug

After upgrading to use Bridge, it seems like the loading and loading indicator props in the nuxt.config file (https://nuxtjs.org/docs/configuration-glossary/configuration-loading-indicator/) no longer work.

In the Nuxt 3 docs, it seems like the new way of achieving this is using the NuxtLoadingIndicator component (https://nuxt.com/docs/api/components/nuxt-loading-indicator).

However, when using Bridge neither of these options seem to work, with others also running into this issue (https://github.com/nuxt/bridge/discussions/613)

Additional context

No response

Logs

Unknown custom element: <NuxtLoadingIndicator>
SimplyCorey commented 2 months ago

Any solution here?