Closed ElMassimo closed 2 years ago
We didn't find any information for the current pull request with the commit 21cbbbae7d870621ea727db6efcca18c05d47ffc. You might need to set the 'NX_BRANCH' environment variable in your CI pipeline.
Check the Nx Cloud Github Integration documentation for more information.
Sent with ๐ from NxCloud.
Latest commit: |
21cbbba
|
Status: | โ Deploy successful! |
Preview URL: | https://da21ec80.iles.pages.dev |
Branch Preview URL: | https://fix-kebab-components.iles.pages.dev |
Description ๐
This pull request fixes a bug where kebab-case usages of a component with a hydration directive were not being detected.
It also upgrades to the latest version of
unplugin-vue-components
, to ensure that any bug fixes or new resolvers are available for รฎles apps.Background ๐
Internally, we are using
unplugin-vue-components
to detect components.The
findComponent
API was added in https://github.com/antfu/unplugin-vue-components/pull/329, but it expects aPascalCase
string as the first parameter.The Fix ๐จ
Applying
pascalCase
to the tag before callingfindComponent
fixes this issue, and allows components to be detected regardless of which convention is used.