Skip to content

Modules

In hop, every file corresponds to a module.

The <import> tag imports a component from another module.

html
<import component="foo" from="bar" />
AttributesUse
component="…"Specifies the name of the component that should be imported.
from="…"Specifies the name of the module that the component should be imported from.