diff --git a/admin/app/components/solidus_admin/ui/table/component.html.erb b/admin/app/components/solidus_admin/ui/table/component.html.erb index 24f8992f67d..5f78bbaddad 100644 --- a/admin/app/components/solidus_admin/ui/table/component.html.erb +++ b/admin/app/components/solidus_admin/ui/table/component.html.erb @@ -1,10 +1,8 @@
- + <%= t('.no_resources_found', resources: @model_class.model_name.human.pluralize) %> diff --git a/admin/app/views/layouts/solidus_admin/application.html.erb b/admin/app/views/layouts/solidus_admin/application.html.erb index 897cb8dce3d..2b93f3a4d73 100644 --- a/admin/app/views/layouts/solidus_admin/application.html.erb +++ b/admin/app/views/layouts/solidus_admin/application.html.erb @@ -1,6 +1,7 @@ + <%= favicon_link_tag 'favicon.ico' %> <%= solidus_admin_title %> <%= stylesheet_link_tag "solidus_admin/application.css", "inter-font", "data-turbo-track": "reload" %> <%= javascript_importmap_tags "solidus_admin/application", shim: false, importmap: SolidusAdmin.importmap %> diff --git a/admin/lib/solidus_admin.rb b/admin/lib/solidus_admin.rb index 5a3f717a0a1..647e4657788 100644 --- a/admin/lib/solidus_admin.rb +++ b/admin/lib/solidus_admin.rb @@ -7,6 +7,8 @@ require 'importmap-rails' require 'tailwindcss-rails' +require 'turbo-rails' +require 'stimulus-rails' module SolidusAdmin singleton_class.attr_accessor :importmap diff --git a/admin/solidus_admin.gemspec b/admin/solidus_admin.gemspec index d5874b4fac2..9f955fa3424 100644 --- a/admin/solidus_admin.gemspec +++ b/admin/solidus_admin.gemspec @@ -28,6 +28,8 @@ Gem::Specification.new do |s| s.add_dependency 'importmap-rails', '~> 1.2', '>= 1.2.1' s.add_dependency 'solidus_backend', s.version s.add_dependency 'solidus_core', s.version + s.add_dependency 'stimulus-rails', '~> 1.2' s.add_dependency 'tailwindcss-rails', '~> 2.0' + s.add_dependency 'turbo-rails', '~> 1.4' s.add_dependency 'view_component', '~> 3.3' end