2019-07-05 18:03:47 +02:00

1.1 KiB

strapi-generate-model

npm version npm downloads npm dependencies Build status Slack status

This Strapi generator contains the default files for a model.

This generator can be called with:

$ strapi generate:model modelName apiName

For example if you want to generate a group model for the user API:

$ strapi generate:model group user

Resources