Sha256: c463a5b2b254bcdceb09e9da8f3490a330e5066204f341183c3dcbe69be476e8

Contents?: true

Size: 369 Bytes

Versions: 103

Compression:

Stored size: 369 Bytes

Contents

# frozen_string_literal: true

require "webpacker"
require "webpacker/react/railtie" if defined?(Rails)
require "webpacker/react/helpers"
require "webpacker/react/component"

module Playbook
  module ApplicationHelper
    include ::Webpacker::Helper
    include ::Webpacker::React::Helpers

    def current_webpacker_instance
      Playbook.webpacker
    end
  end
end

Version data entries

103 entries across 103 versions & 1 rubygems

Version Path
playbook_ui-5.2.0.pre.alpha11 app/helpers/playbook/application_helper.rb
playbook_ui-5.5.1.pre.alpha4 app/helpers/playbook/application_helper.rb
playbook_ui-5.5.1.pre.alpha3 app/helpers/playbook/application_helper.rb
playbook_ui-5.5.1.pre.alpha2 app/helpers/playbook/application_helper.rb
playbook_ui-5.5.1.pre.alpha1 app/helpers/playbook/application_helper.rb
playbook_ui-5.2.0.pre.alpha10 app/helpers/playbook/application_helper.rb
playbook_ui-5.5.1 app/helpers/playbook/application_helper.rb
playbook_ui-5.5.0 app/helpers/playbook/application_helper.rb
playbook_ui-5.5.0.pre.alpha1 app/helpers/playbook/application_helper.rb
playbook_ui-5.2.0.pre.alpha9 app/helpers/playbook/application_helper.rb
playbook_ui-5.2.0.pre.alpha8 app/helpers/playbook/application_helper.rb
playbook_ui-5.2.0.pre.alpha7 app/helpers/playbook/application_helper.rb
playbook_ui-5.3.0.pre.alpha1 app/helpers/playbook/application_helper.rb
playbook_ui-5.4.0 app/helpers/playbook/application_helper.rb
playbook_ui-5.2.0.pre.alpha6 app/helpers/playbook/application_helper.rb
playbook_ui-5.2.0.pre.alpha5 app/helpers/playbook/application_helper.rb
playbook_ui-5.3.0 app/helpers/playbook/application_helper.rb
playbook_ui-5.2.0.pre.alpha4 app/helpers/playbook/application_helper.rb
playbook_ui-5.2.0.pre.alpha3 app/helpers/playbook/application_helper.rb
playbook_ui-5.2.0.pre.alpha2 app/helpers/playbook/application_helper.rb