Sha256: 0a598477190416047f8c204587d100bb44f4d0dd63299dfd63cb8a6c5cef4081
Contents?: true
Size: 498 Bytes
Versions: 15
Compression:
Stored size: 498 Bytes
Contents
# require Inesita require 'inesita' require 'inesita-router' # require main parts of application require 'router' require 'store' # require all components require_tree './components' # when document is ready render application to <body> class Application include Inesita::Component inject Router inject Store def render div.container do component NavBar component router end end end Inesita::Browser.ready? do Application.mount_to(Inesita::Browser.body) end
Version data entries
15 entries across 15 versions & 1 rubygems