UNPKG

@roadiehq/backstage-plugin-argo-cd

Version:
21 lines (18 loc) 790 B
import { jsx } from 'react/jsx-runtime'; import { EntityContentBlueprint } from '@backstage/plugin-catalog-react/alpha'; import { convertLegacyRouteRef, compatWrapper } from '@backstage/core-compat-api'; import { entityContentRouteRef } from '../plugin.esm.js'; const argoCdPage = EntityContentBlueprint.make({ name: "ArgoCdPage", params: { path: "/argocd", title: "ArgoCD", // you can reuse the existing routeRef // by wrapping into the convertLegacyRouteRef. routeRef: convertLegacyRouteRef(entityContentRouteRef), // these inputs usually match the props required by the component. loader: () => import('../Router.esm.js').then((m) => compatWrapper(/* @__PURE__ */ jsx(m.Router, {}))) } }); export { argoCdPage }; //# sourceMappingURL=pages.esm.js.map