mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-09 15:17:23 +02:00
feat(v2): enable exact for addRoute API (#1374)
This commit is contained in:
parent
1d7538ff4a
commit
2a13c7773f
4 changed files with 13 additions and 11 deletions
|
@ -214,6 +214,7 @@ class DocusaurusPluginContentDocs {
|
|||
routes: Object.values(content.docs).map(metadataItem => ({
|
||||
path: metadataItem.permalink,
|
||||
component: docItemComponent,
|
||||
exact: true,
|
||||
metadata: metadataItem,
|
||||
modules: {
|
||||
content: metadataItem.source,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue