0👍
validation
is a function, while boolean value is expected. In this case the correct way to use it is :state="validation()"
Since validation
method accepts no arguments and there are no reasons for it to be called on each render, it should be a computed instead:
computed: {
validation() { ...
- [Vuejs]-NuxtJS 2 meta tags SSR from API data
- [Vuejs]-Vite build generates different css module classes
Source:stackexchange.com