Today I learned you can do this in a .vue
component file:
<script>
import SomeComponent from "./SomeComponent.vue"
export default {
props: {
...SomeComponent.props
}
}
</script>
This allows to write wrapped components much easier!
Today I learned you can do this in a .vue
component file:
<script>
import SomeComponent from "./SomeComponent.vue"
export default {
props: {
...SomeComponent.props
}
}
</script>
This allows to write wrapped components much easier!