The nuxt plugin is missing motion.d.ts
KeJunMao opened this issue Ā· comments
KeJun commented
reslear commented
hi @Tahul this is breaks nuxt types for useNuxtApp()
same as GaborTorma/nuxt-dayjs-i18n#5
proof:
.nuxt/types/plugins.d.ts
temp solution:
pnpm patch @vueuse/motion
diff --git a/dist/runtime/templates/motion.d.ts b/dist/runtime/templates/motion.d.ts
new file mode 100644
index 0000000000000000000000000000000000000000..9cf58a7924cd41b6078876411e90490dc1c0a5e7
--- /dev/null
+++ b/dist/runtime/templates/motion.d.ts
@@ -0,0 +1,2 @@
+declare const _default: any;
+export default _default;