-
-
Notifications
You must be signed in to change notification settings - Fork 1k
feat(app): pass inject/provide helpers as second argument to plugins #226
Conversation
Well the context is also different (nuxt vs ctx). I agree we need to find an easy way to make a plugin for both N2 and N3 compatible. |
Let's discuss in nuxt/bridge#119 :) |
We can take the same approach of module compatibility to by default provide a semi-compatible interface (reducing breaking change surface) and |
Just (re)rediscovered this, which makes me think that we should go ahead with this PR (or update the signature): framework/packages/app/src/nuxt.ts Lines 28 to 30 in ce72ce6
|
We can probably start showing a deprecated message on |
this may be a deliberate choice but if so, it will make it harder for module authors to create plugins for both 2/3