File storage

Learn how to use Supersaas Storage in your site

We use any S3 compatible storage for our files, you can use the useStorage composable to access the storage and perform CRUD operations.

Example

index.ts
// GET

const files = await useStorage().list();

// POST
const file = await useStorage().upload("file.png");

// UPDATE
await useStorage().update("file.png", { name: "new-name.png" });

// DELETE
await useStorage().delete("file.png");

Providers


UNLIMITED ACCESS PASS
UNLIMITED ACCESS PASS
UNLIMITED ACCESS PASS
UNLIMITED ACCESS PASS
UNLIMITED ACCESS PASS
UNLIMITED ACCESS PASS
UNLIMITED ACCESS PASS
UNLIMITED ACCESS PASS
UNLIMITED ACCESS PASS
UNLIMITED ACCESS PASS
UNLIMITED ACCESS PASS
UNLIMITED ACCESS PASS
UNLIMITED ACCESS PASS
UNLIMITED ACCESS PASS
UNLIMITED ACCESS PASS
UNLIMITED ACCESS PASS
UNLIMITED ACCESS PASS
UNLIMITED ACCESS PASS
UNLIMITED ACCESS PASS
UNLIMITED ACCESS PASS