Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support both Vue 2 and Vue 3 #64

Merged
merged 20 commits into from
Oct 18, 2022
Merged

Conversation

sistrall
Copy link
Contributor

This PR upgrades the DatoCMS library, and it adds support for Vue 2 and Vue 3 by using VueDemi.

Main modifications introduced:

  • the library now is based on VueDemi, a library that allows to use both Vue version, leveraging the composition API
  • files and folders have now a different organization
  • more tests
  • the Image component has a layout prop

@sistrall sistrall marked this pull request as ready for review October 11, 2022 14:37
@datocms datocms deleted a comment from vercel bot Oct 11, 2022
Using vue-datocms directly in the browser, without a build phase of some sort,
is quite unlikely. So let’s spare some complexity by avoiding UMD versions.
@sistrall sistrall force-pushed the feat/support-both-vue2-and-vue3 branch from 3197579 to c597dc5 Compare October 18, 2022 13:46
@sistrall sistrall merged commit d9f5c5a into development Oct 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant