A plugin for Strapi Headless CMS that provides a fast way to transfer your data to Strapi Collection.
- Quickly transfer your JSON Array data to Strapi Collection.
- Instead of creating each field and data type, this plugin makes the analysis simple and usable.
- It can also be used as a backup solution for your data.
Minimum environment requirements
- Node.js
>=14.x.x
- NPM
>=7.x.x
In our minimum support we're following official Node.js releases timelines.
Supported Strapi versions:
- Strapi v4.4.1 (recently tested)
- Strapi v4.2.3 (recently tested)
- Strapi v4.x
- You need to enable the plugin by adding it to the plugins configurations file:
// path: /path/to/myDevelopmentProject/config/plugins.js
module.exports = {
// ...
'fast-content': {
enabled: true,
},
// ...
}
- For Strapi to show your data correctly, you will need to edit the 'strapi::security' line in /path/to/myDevelopmentProject/config/middlewares.js
// path: /path/to/myDevelopmentProject/config/middlewares.js
module.exports = {
// ...
{
name: 'strapi::security',
config: {
'contentSecurityPolicy': {
'useDefaults': true,
'directives': {
'connect-src': ["'self'", 'https:'],
'script-src': ["'self'", "'unsafe-inline'", 'blob:', 'cdn.jsdelivr.net'],
'img-src': ['*'],
'media-src': ["'self'", 'data:', 'blob:'],
'upgradeInsecureRequests': null,
},
},
},
},
// ...
}
yarn add strapi-plugin-fast-content
yarn build
yarn develop
or
npm install strapi-plugin-fast-content
npm run build
npm run develop
Good morning & I love you.
Dang Nhat Phi