Frame icon indicating copy to clipboard operation
Frame copied to clipboard

Export Notes and Tasks

Open aligoren opened this issue 7 years ago • 3 comments

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.

aligoren avatar Jul 09 '18 08:07 aligoren

import/export ✅

ademilter avatar Jul 09 '18 08:07 ademilter

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";
}

aligoren avatar Jul 09 '18 08:07 aligoren

It's possible sync data with google drive api or firebase. When any changes applied, it's can automatically synced.

VictorTomaili avatar Jul 09 '18 09:07 VictorTomaili