motion
motion copied to clipboard
The nuxt plugin is missing motion.d.ts
hi @Tahul this is breaks nuxt types for useNuxtApp()
same as https://github.com/GaborTorma/nuxt-dayjs-i18n/issues/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;
strange but I found this PR https://github.com/vueuse/motion/pull/136
after build:
I suspect the fix was released before publication, just need to release a new version v2.0.1
@Tahul please release new version :)