Skip to content

Commit

Permalink
Merge pull request #5 from RafaelKr/fix/import-paths
Browse files Browse the repository at this point in the history
 fix: use correct block template filenames
  • Loading branch information
ChristopherDosin authored Apr 27, 2022
2 parents 68dc444 + 8b84ef6 commit 3bf011d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion stubs/block/block.component.index.stub
Original file line number Diff line number Diff line change
@@ -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;

Expand Down
4 changes: 2 additions & 2 deletions stubs/block/block.preview.index.stub
Original file line number Diff line number Diff line change
@@ -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;

Expand Down

0 comments on commit 3bf011d

Please sign in to comment.