Someone know how to create a empty folder in firebase storage with JS ?
I try to search a solution in the docs but i dont find anythings
Someone know how to create a empty folder in firebase storage with JS ?
I try to search a solution in the docs but i dont find anythings
A directory is automatically created once you create a reference and upload a file. According to the docs, you can use:
import { getStorage, ref } from "firebase/storage";
const storage = getStorage();
const spaceRef = ref(storage, 'images/space.jpg');
//
Where "images" is a top-level directory inside Firebase Storage.
If you only want an empty folder, go ahead in open the console, select Storage from the "Build" section, and then hit "create folder".