Skip to content

Commit

Permalink
Update add-custom-component.md (#1647)
Browse files Browse the repository at this point in the history
Removed identifier, which is causing issues when loading asynchronous components

Co-authored-by: Su <[email protected]>
  • Loading branch information
AndreasMorasch and sushmangupta authored Jan 15, 2025
1 parent ec8262f commit b4e75f9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ A component's template is being defined by using the `template` property. For th

```javascript
// <plugin-root>/src/Resources/app/administration/src/component/custom-component/hello-world
export default Shopware.Component.wrapComponentConfig('hello-world', {
export default Shopware.Component.wrapComponentConfig({
template: '<h2>Hello world!</h2>'
});
```
Expand Down

0 comments on commit b4e75f9

Please sign in to comment.