VUE JS Store und Abrufen von API -Daten in LocalStorage

.then((res) => {
     localStorage.setItem("apiData", JSON.stringify(res.data));
});

//////// THEN YOU CAN GET DATA BY
var data = JSON.parse(localStorage.getItem("apiData"));
Bored Bug