ExAdmin v0.7.4 Mix.Tasks.Admin.Install

Install ExAdmin supporting files.

mix admin.install

Defaults:

  • assets - copy js, css, and image files
  • config - add configuration to config/config.exs
  • dashboard - create a default dashboard
  • route - display instructions to add the admin routes

Options:

  • —no-assets - Skip the assets
  • —no-config - Skip the config
  • —no-dashboard - Skip the dashboard
  • —no-route - Skip the route instructions

Summary

Functions

dashboard_instructions()
do_assets(config)
do_config(config)
do_dashboard(config)
do_endpoint(config)
do_install(config)
do_paging(config)
do_route(config)
do_run(args)
run(args)

Callback implementation for c:Mix.Task.run/1.