8000 fix(nuxt): allow load default spa loading indicator · Issue #23047 · nuxt/nuxt · GitHub
[go: up one dir, main page]

Skip to content
fix(nuxt): allow load default spa loading indicator #23047
@davidglezz

Description

@davidglezz

Environment

  • Operating System: Darwin
  • Node Version: v20.1.0
  • Nuxt Version: 3.7.0
  • CLI Version: 3.7.3
  • Nitro Version: 2.6.2
  • Package Manager: npm@9.6.4
  • Builder: -
  • User Config: ssr, build, modules, app, css, vite, runtimeConfig
  • Runtime Modules: @vueuse/nuxt@10.4.1
  • Build Modules: -

Reproduction

add ~/app/spa-loading-template.html

https://stackblitz.com/edit/github-6nhkcv

Describe the bug

Loading spaLoadingTemplate by default from ~/app/spa-loading-template.html no longer works as documented.

Implemented in #21640

  • Default value: null, then ~/app/spa-loading-template.html was loaded.

Changed default value to false in #22798

  • false if undefined or null, then ~/app/spa-loading-template.html is never loaded.

Additional context

Since last version, spaLoadingTemplate: true only loads nuxt animation and does not load ~/app/spa-loading-template.html if exist.

Logs

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0