The slugify option in gatsby-plugin-page-creator does not work #37923
Unanswered
yacchi1123
asked this question in
Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In File System Route API, there was a problem that slugs with underscores were converted to hyphens when trying to retrieve them.
For Exapmle.
The following document states that this event is caused by the use of slugify in gatsby-plugin-page-creator and can be avoided by using the slugify option.
https://www.gatsbyjs.com/plugins/gatsby-plugin-page-creator/#options
Then I modified
gatsby-config.js
based on the following document, but it did not work.https://www.gatsbyjs.com/docs/reference/routing/file-system-route-api/#routing-and-linking
Here is the code I included in
gatsby-config.js
There are no specific errors in the build.
Is there something wrong?
I use gatsby Version
4.24.3
.But I update Version to
5.3.3
had same results.I would appreciate it if you could tell me.
Beta Was this translation helpful? Give feedback.
All reactions