Skip to content
This repository was archived by the owner on Nov 19, 2024. It is now read-only.
This repository was archived by the owner on Nov 19, 2024. It is now read-only.

Clarify PHTML template component key #8106

Closed
@Eddcapone

Description

@Eddcapone

General issue

Description:

https://devdocs.magento.com/guides/v2.4/javascript-dev-guide/javascript/js_init.html

In chapter Insert a JS component in a PHTML template -> Declarative notation -> Declarative notation using the data-mage-init attribute It says:

If an object is returned, the initializer tries to find the <component_name> key

But there is no information about where it even tries to lookup the key. How can I create the key so it can be found? Basic informations are missing and the topic remains complelty unclear.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions