Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 16 additions & 2 deletions plugins/harness-ccm/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,23 @@ import {
Use the imported components to add the Harness CCM content to your entity page:
```tsx
const ccmContent = (
<EntitySwitch.Case if={isHarnessCcmAvailable}>
<EntityCcmContent />
</EntitySwitch.Case>
);
```

#### Add CCM to Entity Page
```tsx
const websiteEntityPage = (
<EntityLayout>
<EntityLayout.Route path="/" title="Overview">
{overviewContent}
</EntityLayout.Route>
{/* Add this route */}
<EntityLayout.Route path="/ccm" title="Cloud Cost Management">
{ccmContent}
</EntityLayout.Route>
{/* ... other routes ... */}
</EntityLayout>
);
```

Expand Down