Mix.Phx.Gen.Tailwind.Injector (phx_gen_tailwind v0.1.3) View Source

Link to this section Summary

Link to this section Functions

Link to this function

assets_deploy_inject(file)

View Source
Link to this function

dev_config_inject(file, context)

View Source
Link to this function

inject_unless_contains(code, code_to_inject, inject_fn)

View Source

Specs

inject_unless_contains(
  String.t(),
  String.t(),
  (String.t(), String.t() -> String.t())
) :: {:ok, String.t()} | :already_injected | {:error, :unable_to_inject}

Injects code unless the existing code already contains code_to_inject

Link to this function

js_css_import_remove(file)

View Source
Link to this function

mix_aliases_inject(file)

View Source
Link to this function

setup_alias_inject(file)

View Source