I have a basic CLI structure environment created. I have a component to display messages/alerts Ie: Login Failed etc…
Since this component is going to be reused thro
You Should hide it inside your alert component using the created life cycle to hide it like this:
`
created: { setTimeout(() => this.message = [], 1000) }