https://github.com/codebender828/polymorphic-as-child-vue
Created with StackBlitz ⚡️
https://github.com/codebender828/polymorphic-as-child-vue
aschild vue
Last synced: about 2 months ago
JSON representation
Created with StackBlitz ⚡️
- Host: GitHub
- URL: https://github.com/codebender828/polymorphic-as-child-vue
- Owner: codebender828
- Created: 2023-04-27T17:08:05.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-05-12T20:39:54.000Z (about 3 years ago)
- Last Synced: 2025-04-08T14:16:40.915Z (about 1 year ago)
- Topics: aschild, vue
- Language: TypeScript
- Homepage: https://stackblitz.com/edit/polymorphic-as-child-vue
- Size: 16.5 MB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# polymorphic-as-child-vue
[Edit on StackBlitz ⚡️](https://stackblitz.com/edit/polymorphic-as-child-vue)
Implements the `asChild` prop for Vue.js
### In Vue
```vue
Dialog Trigger (asChild → Vue SFC)
```
### In TSX
```tsx
Dialog Trigger (asChild → Vue JSX)
// renders element
```
See examples in usage folder