Closed ErhanAbi closed 2 years ago
In strapi, a slug can be obtained by defining it on model schema like this
... "title": { "type": "string", "required": true }, "slug": { "type": "uid", "targetField": "title" }
This will generate a slug field on the model and in the admin interface we can automatically generate slug based on title
The main difference at the moment is compound slugs. You can combine multiple fields to create your slugs. The built in only works with one slug.
In strapi, a slug can be obtained by defining it on model schema like this
This will generate a slug field on the model and in the admin interface we can automatically generate slug based on title