Created
September 1, 2020 16:11
-
-
Save bachhm-dev/68965d573eacef8ad8c31d45f3cc7fa5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { ref } from "vue"; | |
export default function download() { | |
const filePath = ref(null); | |
function downloadBlob(){ | |
// any code here | |
} | |
function downloadJSON(){ | |
// any code here | |
} | |
return { filePath, downloadBlob, downloadJSON} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment