lib/lookbook.rb in lookbook-0.9.8 vs lib/lookbook.rb in lookbook-1.0.0.beta.0
- old
+ new
@@ -1,8 +1,9 @@
require "active_support/dependencies/autoload"
require "lookbook/engine"
require "lookbook/version"
+require "view_component/engine"
module Lookbook
extend ActiveSupport::Autoload
autoload :Error, "lookbook/error"
@@ -11,18 +12,20 @@
autoload :Params, "lookbook/params"
autoload :Page, "lookbook/page"
autoload :PageCollection, "lookbook/page_collection"
autoload :Features, "lookbook/features"
autoload :Collection, "lookbook/collection"
+ autoload :Entity, "lookbook/entity"
autoload :Parser, "lookbook/parser"
autoload :Preview, "lookbook/preview"
autoload :PreviewCollection, "lookbook/preview_collection"
autoload :PreviewController, "lookbook/preview_controller"
autoload :PreviewExample, "lookbook/preview_example"
autoload :PreviewGroup, "lookbook/preview_group"
- autoload :CodeInspector, "lookbook/code_inspector"
+ autoload :SourceInspector, "lookbook/source_inspector"
autoload :CodeFormatter, "lookbook/code_formatter"
autoload :Markdown, "lookbook/markdown"
+ autoload :Theme, "lookbook/theme"
class << self
include Utils
def previews