Vize.SFC.ExternalSource (Vize v0.14.2)

Copy Markdown View Source

An SFC block whose content is loaded from an external source.

Summary

Types

block_type()

@type block_type() :: :template | :script | :script_setup | :style | :custom

t()

@type t() :: %Vize.SFC.ExternalSource{
  block_type: String.t() | nil,
  index: non_neg_integer() | nil,
  src: String.t(),
  type: block_type()
}