motiondivision / motionone

https://motion.dev
MIT License
2.86k stars 52 forks source link

[Feature] Improve Vue docs #137

Closed itpropro closed 9 months ago

itpropro commented 2 years ago

The Vue docs have no examples for composition API usage, which is the recommended way to write Vue 3 applications. It would be great to have some examples how to use motionone with composition API and <script setup lang="ts"> syntax.

mattgperry commented 2 years ago

I'm not a huge Vue user - as a component, does it make much of a difference between the composition API and how we've got it set up on the site?

itpropro commented 2 years ago

The examples are already using setup syntax, the difference is not that big, I can create a PR that adds docs examples for script setup if that is fine for you.

mattgperry commented 9 months ago

This is now a wontfix, see https://github.com/motiondivision/motionone/discussions/241

Hopefully future maintainers will have more time to take a look at this one!