I am using Strapi in my NEXT.JS project.
I used this plugin Config Sync to export all configuration data but when I imported them everything was imported except collection types and single types.
Is there a way to export everything before deployment and then import it into the deployed CMS or how does this work?
strapi dependencies:
"dependencies": {
"@_sh/strapi-plugin-ckeditor": "^1.1.2",
"@strapi/plugin-i18n": "4.3.4",
"@strapi/plugin-users-permissions": "4.3.4",
"@strapi/strapi": "4.3.4",
"better-sqlite3": "7.4.6",
"pg": "^8.7.3",
"strapi-plugin-config-sync": "^1.0.3"
},
admin.js in config root
module.exports = ({ env }) => ({
auth: {
secret: env('ADMIN_JWT_SECRET'),
},
apiToken: {
salt: env('API_TOKEN_SALT'),
},
watchIgnoreFiles: [
'**/config/sync/**',
],
});
Development Database: sqlLite
Production Database: Mysql or Postgres