Search
Search
createCollection
createCollection
Add a new CMS Collection.
const newCollection = await framer.createCollection(name)
Parameters
name: string– The name to give the new collection
Returns
Promise<Collection>
Caveats
If an
nameis provided which matches an existing Collection, the promise will reject