Mount on a template ref after the component is mounted. Pass your paid apiKey and either s3 or http store config.
onMounted(() => {
FileStorageSDK.mount({
el: fmEl.value,
apiKey: import.meta.env.VITE_FS_KEY,
http: { baseUrl: '/filestorage-proxy' },
})
})Compare plans on Pricing and browse all guides.