showing results for - "vue js store and retrieve api data to localstorage"
Nahil
16 Oct 2016
1.then((res) => {
2     localStorage.setItem("apiData", JSON.stringify(res.data));
3});
4
5//////// THEN YOU CAN GET DATA BY
6var data = JSON.parse(localStorage.getItem("apiData"));
7