Module: Creact
- Defined in:
- lib/creact.rb,
lib/creact/cli.rb,
lib/creact/version.rb,
lib/creact/file_handlers.rb
Defined Under Namespace
Modules: FileOperations Classes: Generate
Constant Summary collapse
- VERSION =
"0.1.0"
Instance Method Summary collapse
Instance Method Details
#loader ⇒ Object
9 10 11 12 13 14 15 |
# File 'lib/creact.rb', line 9 def loader opal = Opal::Server.new {|s| s.append_path 'js' s.main = 'react' } Opal::Processor.load_asset_code(opal.sprockets, 'react') end |