Skip to content

Commit 5ff9b4f

Browse files
author
Tibor Szakmany
committed
register @@personal-information route
1 parent 492471e commit 5ff9b4f

2 files changed

Lines changed: 16 additions & 0 deletions

File tree

packages/cmsui/config/routes.ts

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,19 @@ export default function install(config: ConfigType) {
6767
},
6868
],
6969
},
70+
{
71+
type: 'prefix',
72+
path: '@@personal-information',
73+
children: [
74+
{
75+
type: 'index',
76+
file: '@plone/cmsui/routes/personal-information.tsx',
77+
options: {
78+
id: 'personal-information',
79+
},
80+
},
81+
],
82+
},
7083
{
7184
type: 'prefix',
7285
path: 'test-layout',
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
export default function PersonalInformation() {
2+
return <h1 className="documentFirstHeading">Personal Information</h1>;
3+
}

0 commit comments

Comments
 (0)