plugins: restore dev setups
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
@@ -13,10 +13,17 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import React from 'react';
|
||||
import { createDevApp } from '@backstage/dev-utils';
|
||||
import { ExampleCostInsightsClient } from '../src/example';
|
||||
import { costInsightsApiRef } from '../src/api';
|
||||
import { costInsightsPlugin } from '../src/plugin';
|
||||
import {
|
||||
costInsightsPlugin,
|
||||
CostInsightsPage,
|
||||
CostInsightsProjectGrowthInstructionsPage,
|
||||
CostInsightsLabelDataflowInstructionsPage,
|
||||
} from '../src/plugin';
|
||||
|
||||
createDevApp()
|
||||
.registerPlugin(costInsightsPlugin)
|
||||
@@ -25,4 +32,16 @@ createDevApp()
|
||||
deps: {},
|
||||
factory: () => new ExampleCostInsightsClient(),
|
||||
})
|
||||
.addPage({
|
||||
title: 'Cost Insights',
|
||||
element: <CostInsightsPage />,
|
||||
})
|
||||
.addPage({
|
||||
title: 'Growth',
|
||||
element: <CostInsightsProjectGrowthInstructionsPage />,
|
||||
})
|
||||
.addPage({
|
||||
title: 'Labelling',
|
||||
element: <CostInsightsLabelDataflowInstructionsPage />,
|
||||
})
|
||||
.render();
|
||||
|
||||
Reference in New Issue
Block a user