Installation
LesliDashboard provides persisted, account-scoped dashboards and the shared component renderer used by Lesli engines. It requires Lesli ~> 5.1.0.
Install and Mount
bundle add lesli_dashboard
The standard router mounts it at /dashboard:
Rails.application.routes.draw do
Lesli::Router.mount(self)
end
For a manual mount:
Rails.application.routes.draw do
mount LesliDashboard::Engine => "/dashboard"
end
Prepare the database and initialize installed engines:
bin/rails lesli:db:prepare
Register missing dashboard and component records for existing accounts:
bin/rails lesli_dashboard:register
Verify the Installation
bin/rails routes -g dashboard
bin/rails server
Visit http://127.0.0.1:3000/dashboard. See Dashboards for the component contract and Tasks for registration behavior.
Last Update: 2026/10/06