vue-styled-components
vue-styled-components copied to clipboard
feat: support Vue 3
trafficstars
This PR encompasses the following:
-
Full parity with current Vue 2
vue-styled-components, includingcsskeyframesinjectGlobalstyledand.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())