-
Notifications
You must be signed in to change notification settings - Fork 183
Closed
Labels
help wantedExtra attention is neededExtra attention is needed
Description
📚 What are you trying to do?
Pinia relied on an older method of adding a tab onto the devtools by using a vue plugin, but with the recent change particularly this:
v1.7.0...v2.0.0#diff-3052b465f80769fc606a22db21ef75d0cf440b2a827d8dc73895a714562f0b8f

The plugin that initialized the devtools is now loaded after pinia or any plugins not registered after this initialization. As far as i could tell this wasn't documented as a breaking change.
This is the pinia code in question:
const plugin: Plugin<{ pinia: Pinia }> = defineNuxtPlugin({
name: 'pinia',
setup(nuxtApp) {
const pinia = createPinia()
nuxtApp.vueApp.use(pinia)
...
},
})What would be the best way to deal with this to make it work with pinia again?
Linking the discussion on pinia for reference: vuejs/pinia#2952
🔍 What have you tried?
No response
ℹ️ Additional context
No response
Metadata
Metadata
Assignees
Labels
help wantedExtra attention is neededExtra attention is needed