diff --git a/app/views/layouts/lookbook/app.html.erb b/app/views/layouts/lookbook/app.html.erb
index 5349e1bf1..de7b61822 100644
--- a/app/views/layouts/lookbook/app.html.erb
+++ b/app/views/layouts/lookbook/app.html.erb
@@ -13,7 +13,7 @@
window.SOCKET_PATH = "<%= Lookbook::Engine.websocket_mount_path %>";
<% end %>
-
+
<%= [@example&.label, @preview&.label, "Lookbook"].compact.join(" :: ") %>
diff --git a/lib/lookbook.rb b/lib/lookbook.rb
index ff35eb1bd..f1d55f6f8 100644
--- a/lib/lookbook.rb
+++ b/lib/lookbook.rb
@@ -1,5 +1,6 @@
require "active_support/dependencies/autoload"
require "lookbook/engine"
+require "lookbook/version"
module Lookbook
extend ActiveSupport::Autoload
diff --git a/lib/lookbook/engine.rb b/lib/lookbook/engine.rb
index b0e21cfe6..1e6eb4626 100644
--- a/lib/lookbook/engine.rb
+++ b/lib/lookbook/engine.rb
@@ -12,6 +12,10 @@ def config
def logger
@logger ||= config.debug == true ? Rails.logger : Lookbook::NullLogger.new
end
+
+ def version
+ Lookbook::VERSION
+ end
end
class Engine < Rails::Engine