JumarWeb (Jumar v0.1.0)

View Source

The entrypoint for defining your web interface, such as controllers, components, channels, and so on.

This can be used in your application as:

use JumarWeb, :controller
use JumarWeb, :html

The definitions below will be executed for every controller, component, etc, so keep them short and clean, focused on imports, uses and aliases.

Do NOT define functions inside the quoted expressions below. Instead, define additional modules and import those modules here.

Summary

Functions

When used, dispatch to the appropriate controller/view/etc.

Returns Phoenix.Channel helpers.

Returns controller helpers.

Returns a list of useful helpers when creating HTML templates.

Returns Phoenix.LiveView helpers.

Returns a list of router helpers.

Returns a list of folders and files in the priv/static directory that should be served publicly.

Adds verified route compile logic to the module.

Functions

__using__(which)

(macro)

When used, dispatch to the appropriate controller/view/etc.

channel()

Returns Phoenix.Channel helpers.

controller()

Returns controller helpers.

html()

Returns a list of useful helpers when creating HTML templates.

live_component()

Returns Phoenix.LiveComponent helpers.

live_view()

Returns Phoenix.LiveView helpers.

router()

Returns a list of router helpers.

static_paths()

Returns a list of folders and files in the priv/static directory that should be served publicly.

verified_routes()

Adds verified route compile logic to the module.