Skip to content

Prototypr/strapi-import-export

Repository files navigation

Import Export for Strapi 5

Import/Export data from and to your database for Strapi 5 - a fork of strapi-import-export, built from scratch using the @strapi/sdk-plugin.

NPM Install:

npm i strapi-import-export

Guide

Refer to the original docs from the previous version for how this plugin works, it's exactly the same.


Strapi 5 Upgrades

There was a lot of work to migrate this plugin to Strapi 5 because of the size of it. The deprecated APIs were replaced, and all the deprecated components updated to the new Strapi design system.

  • Import - seems to work okay (there is a known issue from the original plugin where the deepness dropdown doesn't work when the number of levels is high)
  • Export - seems working, need testing
  • Admin dashboard components (converted a lot of deprecated imports)
    • replaced select dropdowns
    • updated checkboxes to use radix api
    • loads of other similar stuff
  • Server – converted to ESM so it can be used in Strapi 5
  • Removed most typescript because it was causing issues, some types became out of date or could not be found.
  • Replaced strapi.entityService - this is deprecated, replaced with strapi.documents

See video (this was when I first started): Watch on YouTube 📹

Upgrade Guides:

These docs were most useful when migrating: