Generate data for your content-types
This plugin is for generating data for your content-types for strapi v4 and v5.
For strapi version v4 use plugin version 1
For strapi version v5 use plugin version 2
string
with RegExp pattern, email
, richtext
, integer
, decimal
, date
, media(videos, images, audios, files)
, boolean
enumeration
, password
, UID
, relation
, json
fields of your content types.To install this plugin, you need to add an NPM dependency to your Strapi application:
1# Using Yarn
2yarn add strapi-plugin-generate-data
3
4# Or using NPM
5npm install strapi-plugin-generate-data
It should be activated by default, but if you don't have it in your admin then enable the plugin manually in config/plugins
1{
2 ...,
3 "generate-data": {
4 enabled: true,
5 },
6}
1...,
2 {
3 name: "strapi::security",
4 config: {
5 contentSecurityPolicy: {
6 useDefaults: true,
7 directives: {
8 "connect-src": ["'self'", "https:"],
9 "img-src": ["'self'", "data:", "blob:", `https://loremflickr.com/`],
10 upgradeInsecureRequests: null,
11 },
12 },
13 },
14 },
15...
npm install strapi-plugin-generate-data
Check out the available plugin resources that will help you to develop your plugin or provider and get it listed on the marketplace.