-
Notifications
You must be signed in to change notification settings - Fork 1
Save & export
Clemens edited this page Aug 15, 2024
·
1 revision
To save a webstrate to a zip-file including all Automerge binary documents (root, content, data, assets, cache) including their history:
webstrate.saveToZip()To load a saved zip into a new webstrate:
webstrate.loadFromZip()To export a webstrate to a zip-file including its content as HTML, asset files, and data as JSON:
webstrate.exportToZip()To import a webstrate stored a zip of its contents:
webstrate.importFromZip()
Note that the import and export methods are compatible with the original implementation of Webstrates.