Pinia Store init function
Hi, i have a pinia store and want to init some data by using an init function. Both functions works fine but if i execute both functions i get the error message. If i call just one of them functions all works fine. Whats the problem? Can anyone help?


1 Reply
Have you tried
$fetch
instead of useFetch
?