Sha256: 088969aecb7690cff6622a4d327745c5bfc6fc1b269ce7804924e0089c0cb175

Contents?: true

Size: 321 Bytes

Versions: 21

Compression:

Stored size: 321 Bytes

Contents

# frozen_string_literal: true

require 'view_component/engine'
module Bs5
  class Engine < ::Rails::Engine
    isolate_namespace Bs5

    # Previewing ViewComponents
    config.before_configuration do |app|
      app.config.view_component.preview_paths << "#{Bs5::Engine.root}/spec/components/previews"
    end
  end
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
bs5-0.0.22 lib/bs5/engine.rb
bs5-0.0.21 lib/bs5/engine.rb
bs5-0.0.20 lib/bs5/engine.rb
bs5-0.0.19 lib/bs5/engine.rb
bs5-0.0.18 lib/bs5/engine.rb
bs5-0.0.17 lib/bs5/engine.rb
bs5-0.0.16 lib/bs5/engine.rb
bs5-0.0.15 lib/bs5/engine.rb
bs5-0.0.14 lib/bs5/engine.rb
bs5-0.0.13 lib/bs5/engine.rb
bs5-0.0.12 lib/bs5/engine.rb
bs5-0.0.11 lib/bs5/engine.rb
bs5-0.0.10 lib/bs5/engine.rb
bs5-0.0.9 lib/bs5/engine.rb
bs5-0.0.8 lib/bs5/engine.rb
bs5-0.0.7 lib/bs5/engine.rb
bs5-0.0.6 lib/bs5/engine.rb
bs5-0.0.5 lib/bs5/engine.rb
bs5-0.0.4 lib/bs5/engine.rb
bs5-0.0.3 lib/bs5/engine.rb