vuejs / pinia

🍍 Intuitive, type safe, light and flexible Store for Vue using the composition api with DevTools support
https://pinia.vuejs.org
MIT License
12.91k stars 1.02k forks source link

refactor(nuxt): use object syntax for nuxt 3 plugin #2588

Closed huang-julien closed 6 months ago

huang-julien commented 6 months ago

Hello this PR adds a name to the pinia nuxt plugin.

This will be necessary for plugins that relies on pinia, they'll be using the dependsOn property that require plugins to be named. In Nuxt 4, all plugins will be loaded in parallel by default

netlify[bot] commented 6 months ago

Deploy Preview for pinia-official canceled.

Name Link
Latest commit b746241eea3172bcdb1264efd67a0d9a10302f1e
Latest deploy log https://app.netlify.com/sites/pinia-official/deploys/65d74429ff82620008650579
netlify[bot] commented 6 months ago

Deploy Preview for pinia-playground canceled.

Name Link
Latest commit b746241eea3172bcdb1264efd67a0d9a10302f1e
Latest deploy log https://app.netlify.com/sites/pinia-playground/deploys/65d74429943b690008a8be35
alSergey commented 3 months ago

@posva hi, can you please tell me when @pinia/nuxt will be released with this change? I'm really looking forward to them. I need the dependsOn: ['pinia'] functionality, but in the current version I can't use it.

Neemsigo commented 3 months ago

Hello, waiting for this feature too 🙂