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

feat: support Vue 3 #139

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Conversation

exbotanical
Copy link

This PR encompasses the following:

  • Full parity with current Vue 2 vue-styled-components, including

    • css
    • keyframes
    • injectGlobal
    • styled and .attrs
  • Vue 3 added as peer dependency

  • Update static analysis tooling e.g. eslint, add prettier

  • Example updated to reflect Vue 3 API

  • Update README

  • Update package version to 2.0.0

  • Add type declarations (these certainly can be improved)

  • Add Cypress integration tests to cover edge cases and other functionality that is now difficult to test given Vue 3 flattens props and attributes in the hyperscript constructor (i.e. h())

This squashed commit contains the necessary changes for full-parity vue
3 support.

- support vue 3 with full parity with vue 2 styled-components
- reconfigure static analysis utilities to accommodate changes
- add integration test coverage for known edge cases
- update example
@exbotanical exbotanical mentioned this pull request Apr 15, 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