Aurora.Uix.Templates.Basic (Aurora UIX v0.1.0)

Provides the template implementation for Aurora UIX, implementing the Aurora.Uix.Template behavior.

Delegates module generation to ModulesGenerator, which creates LiveView handler code for index, show, and form layouts. Provides information about supported layout tags and default core components and theme modules.

Summary

Functions

Returns the default core components module used in the template system.

Generates logic modules by delegating to ModulesGenerator based on the provided configuration.

Functions

default_core_components_module()

@spec default_core_components_module() :: module()

Returns the default core components module used in the template system.

Returns

  • module() - The default core components module.

generate_module(parsed_opts)

@spec generate_module(map()) :: Macro.t()

Generates logic modules by delegating to ModulesGenerator based on the provided configuration.

Parameters

  • parsed_opts (map()) - Parsed options for generation.

Returns

Macro.t() - The generated module as a macro.