An open API service indexing awesome lists of open source software.

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 ⚡️

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