Svelixir.Config.Assets.Ui (svelixir v0.11.0)

Copy Markdown

UI surface detail — the assets.ui: block.

Consulted only when assets.type selects :ui or :both. Inert on an :otp project, where no router exists to mount anything on — a no-op rather than an error.

Summary

Functions

Builds this section, and any nested block, from input.

Types

t()

@type t() :: %Svelixir.Config.Assets.Ui{live_view: boolean(), svelixir: boolean()}

Functions

new!(input \\ [])

@spec new!(keyword() | map()) :: t()

Builds this section, and any nested block, from input.

valid?(self)