Skip to content

docs(examples): add Vue 3 example#576

Merged
francoischalifour merged 3 commits intonextfrom
docs/example-vue-3
May 6, 2021
Merged

docs(examples): add Vue 3 example#576
francoischalifour merged 3 commits intonextfrom
docs/example-vue-3

Conversation

@francoischalifour
Copy link
Contributor

Description

This adds an example using Vue 3. It'll be a good boilerplate for Vue users, and we'll be able to better track regressions for Vue 3 use cases.

Considerations

Vue 3 accepts lower-case event names so we need to transform props like onMouseMove to onMousemove. I created a createElement adaptor user-land to support these props.

Once these frameworks mature more in the future, we could provide these adaptors for major frameworks.

@codesandbox-ci
Copy link

codesandbox-ci bot commented May 6, 2021

@francoischalifour francoischalifour merged commit 1bb20ac into next May 6, 2021
@francoischalifour francoischalifour deleted the docs/example-vue-3 branch May 6, 2021 09:42
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.

2 participants