Methods are functions inside the methods property of a Vue instance or component. They can be used for events or logic. Example:
methods
methods: { greet() { alert('Hello!'); } }