diff --git a/src/module.ts b/src/module.ts index 3cb4552..227317d 100644 --- a/src/module.ts +++ b/src/module.ts @@ -136,8 +136,10 @@ export default defineNuxtModule({ }, }); + const composables = ['umTrackEvent', 'umTrackView', 'umIdentify', 'umTrackRevenue']; + // add composables - addImports(['umTrackEvent', 'umTrackView', 'umIdentify'].map((name) => { + addImports(composables.map((name) => { return { name, as: name,