feat(v2): enable exact for addRoute API (#1374)

This commit is contained in:
Endilie Yacop Sucipto 2019-04-20 22:09:21 +07:00 committed by Yangshun Tay
parent 1d7538ff4a
commit 2a13c7773f
4 changed files with 13 additions and 11 deletions

View file

@ -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,