add a skeleton for route test pages

Co-authored-by: Patrik Oldsberg <poldsberg@gmail.com>
Co-authored-by: Johan Haals <johan.haals@gmail.com>
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
This commit is contained in:
Fredrik Adelöw
2023-08-31 14:32:45 +02:00
committed by Patrik Oldsberg
parent ab6974e13e
commit 3438bdeb7d
3 changed files with 69 additions and 2 deletions
+5 -1
View File
@@ -92,12 +92,16 @@ export function createApp(options: { plugins: BackstagePlugin[] }): {
]),
);
return createExtensionInstance({
const newInstance = createExtensionInstance({
extension: instanceParams.extension,
source: instanceParams.source,
config: instanceParams.config,
attachments,
});
instances.set(instanceParams.extension.id, newInstance);
return newInstance;
}
const rootConfigs = attachmentMap.get('root')?.get('default') ?? [];