feat: navtarget and explore card

This commit is contained in:
Nikita Nek Dudnik
2020-05-18 19:33:10 +02:00
parent 8428d95791
commit 931342c92f
3 changed files with 12 additions and 1 deletions
+1
View File
@@ -17,3 +17,4 @@
export { plugin } from './plugin';
export * from './api';
export * from './proxy';
export * from './navTargets';
+2 -1
View File
@@ -15,10 +15,11 @@
*/
import { createPlugin } from '@backstage/core';
import { App } from './components/App';
import { navTargetCircleCI } from './navTargets';
export const plugin = createPlugin({
id: 'circleci',
register({ router }) {
router.registerRoute('/circleci', App, { exact: false });
router.addRoute(navTargetCircleCI, App);
},
});