Vue JS Store dan mengambil data API ke 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