RaxolWeb (Raxol v0.4.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 RaxolWeb, :controller
use RaxolWeb, :live_view
use RaxolWeb, :live_component
use RaxolWeb, :channel

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

Summary

Functions

__using__(which)

(macro)

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

channel()

controller()

live_component()

live_view()

router()

static_paths()

verified_routes()

view()