lib/inesita/cli/template/app/application.js.rb in inesita-0.0.9 vs lib/inesita/cli/template/app/application.js.rb in inesita-0.0.10
- old
+ new
@@ -1,14 +1,10 @@
require 'virtual-dom'
require 'opal'
require 'browser'
require 'inesita'
-require 'components/navbar'
-require 'components/layout'
-require 'components/home'
-require 'components/welcome'
-require 'components/goodbye'
+require_tree './components'
$document.ready do
Inesita::Application.new(
routes: {
'/' => Home,