# Administration: mein component lässt sich nicht anzeigen

**URL:** <https://forum.shopware.com/t/administration-mein-component-lasst-sich-nicht-anzeigen/71311>\
**Category:** Programmierung\
**Created:** [2. Dezember 2020 um 10:56 UTC](https://forum.shopware.com/t/administration-mein-component-lasst-sich-nicht-anzeigen/71311 "2020-12-02T10:56:37Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![abdes](https://avatars.discourse-cdn.com/v4/letter/a/a9a28c/32.png) [@abdes](https://forum.shopware.com/u/abdes)\
**Post date:** [2. Dezember 2020 um 10:56 UTC](https://forum.shopware.com/t/administration-mein-component-lasst-sich-nicht-anzeigen/71311/1 "2020-12-02T10:56:37Z")

</div>

Es geht um ein Plugin für&nbsp;Administration und zwar&nbsp;hab dieses&nbsp;[Tutorial(Extending a component)](https://docs.shopware.com/en/shopware-platform-dev-en/developer-guide/administration/inheritance) gefolgt aber mein component wird nicht angezeigt.

in **_custom/plugins/CustomModule/src/Resources/app/administration/src/component/custom-component/my-component/index.js_**

```
import { Component } from 'src/core/shopware';

Component.extend('my-component','sw-search-bar', {
    template: ' Mein Component '
});

```

ich habe ein Extend von&nbsp; \_ **sw-search-bar** \_ component gemacht weil ich das Search bar in meinem Module&nbsp;brauche

danach hab mein component “\_ **my-component&nbsp;** \_” in&nbsp; **_custom/plugins/CustomModule/src/Resources/app/administration/src/module/custom-module/index.js &nbsp;_** genutzt

```
Shopware.Module.register('custom-module', {
    type: 'plugin',
    name: 'Custom',
    title: 'Custom Module',
    description: 'Module description',
    color: '#62ff80',
    icon: 'default-object-lab-flask',

    snippets: {
        
    },

    routes: {
        overview: {
            component: 'my-component',
            path: 'overview'
        }
    },

    navigation: [{
        label: 'Custom Module',
        color: '#62ff80',
        path: 'custom.module.overview',
        icon: 'default-object-lab-flask'
    }]
});

```

nach ausführen von : **_&nbsp;/psh.phar administration:build_** &nbsp;wird&nbsp; nur das&nbsp;\_ **sw-search-bar** \_ component ohne mein&nbsp;Template&nbsp;"  
**_## Mein Component_**" **_&nbsp;_** angezeigt.

Wie kann ich jetzt das Problem beheben ?
