@hdsjulian Here is a small example project for you:
Note: “Upload Filesystem Image” will use the last data partition (“website” in this case). See Upload file system to a specific spiffs partition
For this reason, the “config” partition is placed before the “website” partition: