Packages

A powerful LiveView component for creating dynamic, interactive tables with features like sorting, filtering, pagination, and export capabilities.

Current section

Files

Jump to
live_table lib live_table application.ex
Raw

lib/live_table/application.ex

defmodule LiveTable.TestApplication do
@moduledoc false
use Application
def start(_type, _args) do
children =
if Application.get_env(:live_table, :env) == :test do
[LiveTable.Repo]
else
[]
end
opts = [strategy: :one_for_one, name: LiveTable.TestSupervisor]
Supervisor.start_link(children, opts)
end
end