Package Exports
- custom-slug
- custom-slug/strapi-admin.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (custom-slug) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Strapi plugin: slug
This plugin adds a Slug field to Strapi. Slug has autocomplete default generated value in format: post-year-month-day-hours-minutes-seconds, same for all locales.
Also we can add KeyWord and/or pattern, which will be used to generate slug.
There are next patterns:
- keyword
- title + keyword
- id + keyword
- datetime + keyword
- title
- id
- datetime
Id generated automatically after clicking on button Save. If you don't choose any KeyWord or Pattern it's autofill field with datetime placeholder.
Instalation
Install the plugin in your Strapi project.
- npm i custom-slug | npm