# Override 2 CMS components in main plugin theme

**URL:** <https://forum.shopware.com/t/override-2-cms-components-in-main-plugin-theme/68091>\
**Category:** Programming (EN)\
**Created:** [2. Juli 2020 um 14:18 UTC](https://forum.shopware.com/t/override-2-cms-components-in-main-plugin-theme/68091 "2020-07-02T14:18:22Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Maniur](https://avatars.discourse-cdn.com/v4/letter/m/9fc348/32.png) [@Maniur](https://forum.shopware.com/u/Maniur)\
**Post date:** [2. Juli 2020 um 14:18 UTC](https://forum.shopware.com/t/override-2-cms-components-in-main-plugin-theme/68091/1 "2020-07-02T14:18:22Z")

</div>

Hello All,

I have problem with override more than 1 CMS component in my plugin theme.&nbsp;I would like to have something like this:

```
import template1 from './extension/test1.html.twig';
Component.override('sw-cms-el-config-image-slider', {
    template
});

import template2 from './extension/test2.html.twig';
Component.override('sw-cms-block-image-text-gallery', {
    template2 
});

```

&nbsp;

I&nbsp;tried:

```
import {template as templareTest} from "./test.html.twig"
Component.override('sw-cms-el-config-image-slider', {
    templareTest
});

```

Thanks in advance
