vueuse / motion

๐Ÿคน Vue Composables putting your components in motion
https://motion.vueuse.org
MIT License
2.37k stars 82 forks source link

fix: build nuxt module using `@nuxt/module-builder` #224

Closed BobbieGoede closed 2 months ago

BobbieGoede commented 2 months ago

๐Ÿ”— Linked issue

โ“ Type of change

๐Ÿ“š Description

Using @nuxt/module-builder will prevent our types from breaking other modules (ref https://github.com/nuxt/nuxt/issues/28672). The changes in this PR are a bit messy, I think a good followup would be to split up the Vue plugin and Nuxt module in a packages directory.

๐Ÿ“ Checklist

pkg-pr-new[bot] commented 2 months ago

commit: 5fb22ac

pnpm add https://pkg.pr.new/@vueuse/motion@224

Open in Stackblitz