Vue JS Store e recupere dados da API para 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