mirror of
https://github.com/elastic/kibana.git
synced 2025-06-27 18:51:07 -04:00
36 lines
957 B
Markdown
36 lines
957 B
Markdown
## Developer examples
|
|
|
|
Owner: Kibana application architecture team
|
|
|
|
The developer examples app is a landing page where developers go to search for working, tested examples of various developer
|
|
services. Add your a link to your example using the developerExamples `register` function offered on the `setup` contract:
|
|
|
|
```ts
|
|
setup(core, { developerExamples }) {
|
|
developerExamples.register({
|
|
appId: 'myFooExampleApp',
|
|
title: 'Foo services',
|
|
description: `Foo services let you do bar and zed.`,
|
|
links: [
|
|
{
|
|
label: 'README',
|
|
href: 'https://github.com/elastic/kibana/tree/main/src/plugins/foo/README.md',
|
|
iconType: 'logoGithub',
|
|
target: '_blank',
|
|
size: 's',
|
|
},
|
|
],
|
|
image: img,
|
|
});
|
|
}
|
|
```
|
|
|
|
Run Kibana with developer examples via:
|
|
|
|
```
|
|
yarn start --run-examples
|
|
```
|
|
|
|
Then navigate to "Developer examples":
|
|
|
|
<img src="./navigation.png" height="400px" />
|