Vue

Validating Props in Vue

under Vue

Use Vue's built-in prop validators to validate your component's props.