Thanks to visit codestin.com
Credit goes to github.com

Skip to content

useLoadingIndicator doesn't work correctly #24900

@divine

Description

@divine

Environment


  • Operating System: Linux
  • Node Version: v18.18.0
  • Nuxt Version: 3.9.0
  • CLI Version: 3.10.0
  • Nitro Version: 2.8.1
  • Package Manager: [email protected]
  • Builder: -
  • User Config: extends
  • Runtime Modules: -
  • Build Modules: -

Reproduction

https://stackblitz.com/edit/nuxt-examples-4fafzz?file=pages%2Findex.vue

Step to reproduce:

  1. Click on Demo Link (doesnt work)
  2. Check console logs (useLoadingIndicator().start();is called but not working)
  3. Click on Start/Stop and see it's working fine from page.

Describe the bug

I've tried implementing useLoadingIndicator().start()but failed because it doesn't work from plugin hooks/pinia store for unknown reason.

I've provided reproduction which should work, check DevTools logs and click on ?

Additional context

No response

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