Sha256: ab85ee8df7d24d1cfcc0809bd0d04aa92b786cf940fb1461fda821d284c5bfb3
Contents?: true
Size: 996 Bytes
Versions: 6
Compression:
Stored size: 996 Bytes
Contents
# frozen_string_literal: true require_relative 'boot' require 'rails' require 'active_model/railtie' require 'active_job/railtie' require 'action_controller/railtie' require 'action_mailer/railtie' require 'action_view/railtie' require 'action_cable/engine' require 'rails/test_unit/railtie' require 'sprockets/railtie' require 'view_component' require 'optics/view_components' require 'optics/view_components/engine' # Require the gems listed in Gemfile, including any gems # you've limited to :test, :development, or :production. Bundler.require(*Rails.groups) module Demo class Application < Rails::Application config.load_defaults 7.0 config.view_component.default_preview_layout = 'preview' config.view_component.preview_paths << Rails.root.join('..', 'previews') config.lookbook.project_name = "Optics ViewComponents v#{Optics::ViewComponents::VERSION}" config.lookbook.component_paths = [Optics::ViewComponents::Engine.root.join('app', 'components')] end end
Version data entries
6 entries across 6 versions & 1 rubygems