strapi-generate-model

Generate a model for a Strapi API.

Usage no npm install needed!

<script type="module">
  import strapiGenerateModel from 'https://cdn.skypack.dev/strapi-generate-model';
</script>

README

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

Links