Open aligoren opened 6 years ago
import/export ✅
Hi, @ademilter thanks for the label.
There is an example of export data from localStorage. In this case, we have to create an anchor tag to download data.
const exportData = () => {
const data = localStorage.getItem( "vuex" );
const blob = new Blob([data], {type: "application/json"});
const url = URL.createObjectURL(blob);
const a = document.querySelector("#download");
a.href = url;
a.download = "file.json";
}
It's possible sync data with google drive api or firebase. When any changes applied, it's can automatically synced.
I think there should be an export feature. It could be download to desktop or save to Dropbox-like systems. In this way the notes and tasks are will be portable.