How to set timer idle in Vue

Do you need to check for inactivity of the user in your Vue apps? If the user is inactive in a period of time, then you wanna to automatically logout the user or show a timer first.

How to fix "Avoid mutating a prop directly"

Have you ever faced this problem in vue - Avoid mutating a prop directly since the value will be overwritten whenever the parent component re-renders. Instead, use a data or computed property based on the prop's value.

Loading more posts…