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 app/helpers/playbook/application_helper.rb
playbook_ui-5.1.0 app/helpers/playbook/application_helper.rb
playbook_ui-5.0.3 app/helpers/playbook/application_helper.rb
playbook_ui-5.0.2 app/helpers/playbook/application_helper.rb
playbook_ui-5.0.1.pre.beta app/helpers/playbook/application_helper.rb
playbook_ui-5.1.0.pre.alpha4 app/helpers/playbook/application_helper.rb
playbook_ui-5.1.0.pre.alpha2 app/helpers/playbook/application_helper.rb
playbook_ui-5.1.0.pre.alpha1 app/helpers/playbook/application_helper.rb
playbook_ui-5.0.1 app/helpers/playbook/application_helper.rb
playbook_ui-5.0.1.pre.alpha1 app/helpers/playbook/application_helper.rb
playbook_ui-4.18.1.pre.alpha1 app/helpers/playbook/application_helper.rb
playbook_ui-4.18.1 app/helpers/playbook/application_helper.rb
playbook_ui-4.18.0 app/helpers/playbook/application_helper.rb
playbook_ui-4.17.0 app/helpers/playbook/application_helper.rb
playbook_ui-4.17.0.pre.alpha1 app/helpers/playbook/application_helper.rb
playbook_ui-4.16.0 app/helpers/playbook/application_helper.rb
playbook_ui-4.15.0 app/helpers/playbook/application_helper.rb
playbook_ui-4.14.0 app/helpers/playbook/application_helper.rb
playbook_ui-4.15.1.alpha1 app/helpers/playbook/application_helper.rb
playbook_ui-4.13.1 app/helpers/playbook/application_helper.rb