lib/hyperloop.rb in hyperloop-0.5.4 vs lib/hyperloop.rb in hyperloop-0.5.5
- old
+ new
@@ -1,16 +1,17 @@
require 'hyperloop-config'
require 'rails/generators'
require 'hyper-model'
-#Hyperloop.import 'react_router', client_only: true
+Hyperloop.import 'reactrb/auto-import'
+Hyperloop.import 'hyper-router'
+
require 'generators/hyperloop/install_generator'
require 'generators/hyper/component_generator'
require 'generators/hyper/router_generator'
require 'opal-rails'
require 'react-rails'
require 'hyper-model'
require 'opal-browser'
require 'therubyracer'
-#require 'hyper-router'
-#require 'react/router/rails'
+require 'hyper-router'
require 'hyperloop/version'