Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/benrgreene/wordpress-database-exporter-for-spa-framework/archive/refs/heads/master.zipNo built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.
WordPress Database Export Tool for SPA Framework
This is a plugin with the entire purpose of creating a file that can be imported into the SPA Framework I built.
The page the file can be downloaded from the WP admin panel is accessible from the menu via the 'SPA Exporter' tab, and the file is a JSON file.
By default, the plugin only exports the posts and pages of the site. Extra post types can be added through the filter brg/spa/post_types - it's just an array of post types.