We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0ac81c4 commit 3a87a79Copy full SHA for 3a87a79
packages/nuxt/src/client/vueIntegration.ts
@@ -26,8 +26,11 @@ export type GlobalObjWithIntegrationOptions = { _sentryNuxtVueIntegrationOptions
26
* Add additional error and span instrumentation specialized for Vue.
27
*/
28
export const vueIntegration = defineIntegration((options: Options = {}) => {
29
- (GLOBAL_OBJ as GlobalObjWithIntegrationOptions)._sentryNuxtVueIntegrationOptions = options;
30
return {
+ // NOTE: This name is different from the original vueIntegration's name.
31
name: 'NuxtVueIntegration',
32
+ setup() {
33
+ (GLOBAL_OBJ as GlobalObjWithIntegrationOptions)._sentryNuxtVueIntegrationOptions = options;
34
+ },
35
};
36
});
0 commit comments