vue js store and retrieve api data to localstorage
.then((res) => {
localStorage.setItem("apiData", JSON.stringify(res.data));
});
//////// THEN YOU CAN GET DATA BY
var data = JSON.parse(localStorage.getItem("apiData"));
vue js store and retrieve api data to localstorage
.then((res) => {
localStorage.setItem("apiData", JSON.stringify(res.data));
});
//////// THEN YOU CAN GET DATA BY
var data = JSON.parse(localStorage.getItem("apiData"));
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us