From 8b84ef6192b3a2cd53fd213f77bc6a4959127904 Mon Sep 17 00:00:00 2001 From: RafaelKr Date: Wed, 20 Apr 2022 10:40:46 +0200 Subject: [PATCH] fix: use correct block template filenames --- stubs/block/block.component.index.stub | 2 +- stubs/block/block.preview.index.stub | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/stubs/block/block.component.index.stub b/stubs/block/block.component.index.stub index cd6b99c..d1e95be 100644 --- a/stubs/block/block.component.index.stub +++ b/stubs/block/block.component.index.stub @@ -1,4 +1,4 @@ -import template from './sw-cms-block-{{ name }}.html.twig'; +import template from './sw-cms-block-component-{{ name }}.html.twig'; const { Component } = Shopware; diff --git a/stubs/block/block.preview.index.stub b/stubs/block/block.preview.index.stub index ab5af22..c8c8dbf 100644 --- a/stubs/block/block.preview.index.stub +++ b/stubs/block/block.preview.index.stub @@ -1,5 +1,5 @@ -import template from './sw-cms-preview-{{ name }}.html.twig'; -import './sw-cms-preview-{{ name }}.scss'; +import template from './sw-cms-block-preview-{{ name }}.html.twig'; +import './sw-cms-block-preview-{{ name }}.scss'; const { Component } = Shopware;