I added two subpages to my admin page as well as pages using useAsGetStarted and useAsConfig. I created subpages using react-router. I want the Get Started subpage to reference the same component as the Get Started page created with useAsGetStarted. But now I am forced to duplicate the code for this page - in the admin-page and get-started-page folders. Can I not create a separate folder for the Get Started page (useAsGetStarted), but use the required component from the admin-page as a resource?
jira:adminPage:
- key: project-journal-cloud-admin
resource: admin
resolver:
function: resolver
title: Project Hub Admin
text: Side Bar Testing
icon: resource:admin_page_icon;logo.svg
layout: basic
sections:
- header: Project Hub
pages:
- title: Get Started
route: get-started
icon: resource:empty_icon;get-started.svg
- title: Settings
route: settings
icon: resource:empty_icon;settings.svg
- key: configure
resource: configure
resolver:
function: resolver
title: 'Configure'
useAsConfig: true
- key: get-started
resource: get-started
resolver:
function: resolver
title: 'Get Started'
useAsGetStarted: true
resources:
- key: main
path: static/project-journal/build
tunnel:
port: 3000
- key: project_journal_icon
path: static/project-journal/build
- key: admin_page_icon
path: static/admin-page/build
- key: empty_icon
path: static/admin-page/build
- key: admin
path: static/admin-page/build
tunnel:
port: 3006
- key: configure
path: static/configure-page/build
tunnel:
port: 3007
- key: get-started
path: static/get-started-page/build
tunnel:
port: 3008