Sha256: 972bd8a444ee46d22cba41028606fd817db252786e4cba5aa083b22081164827
Contents?: true
Size: 1.32 KB
Versions: 5
Compression:
Stored size: 1.32 KB
Contents
# frozen_string_literal: true SolidusAdmin::Config.configure do |config| # Path to the logo used in the admin interface. # # It needs to be a path to an image file accessible by Sprockets. # config.logo_path = "my_own_logo.svg" # Add custom folder paths to watch for changes to trigger a cache sweep forcing a # regeneration of the importmap. # config.importmap_cache_sweepers << Rails.root.join("app/javascript/my_admin_components") # If you want to avoid defining menu_item customizations twice while migrating to SolidusAdmin # you can import menu_items from the backend by uncommenting the following line, # but you will need to <%- if defined? Spree::Backend -%> config.import_menu_items_from_backend! <%- else -%> # config.import_menu_items_from_backend! <%- end -%> # Add custom paths to importmap files to be loaded. # config.importmap_paths << Rails.root.join("config/solidus_admin_importmap.rb") # # Configure the main navigation. # See SolidusAdmin::MenuItem for more details. # config.menu_items << { # key: :my_custom_link, # route: :my_custom_link_path, # icon: "solidus_admin/price-tag-3-line.svg", # position: 80, # children: [ # { # key: :my_custom_child_link, # route: :my_custom_child_link_path, # position: 10 # } # ] # } end
Version data entries
5 entries across 5 versions & 1 rubygems