core-app-api: deprecate dependency on core-components

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
Patrik Oldsberg
2021-10-11 22:10:47 +02:00
parent f979fcf519
commit 014cbf8cb9
13 changed files with 219 additions and 85 deletions
+2
View File
@@ -27,6 +27,7 @@ import { Route } from 'react-router';
import {
AlertDisplay,
defaultAppComponents,
OAuthRequestDialog,
Sidebar,
SidebarItem,
@@ -177,6 +178,7 @@ export class DevAppBuilder {
apis,
plugins: this.plugins,
themes: this.themes,
components: defaultAppComponents(),
bindRoutes: ({ bind }) => {
for (const plugin of this.plugins ?? []) {
const targets: Record<string, RouteRef<any>> = {};