Ruby on Rails Saturday, March 1, 2014

Yeah, I've been looking at the sprockets source. I need to come up with a way of creating a new type of manifest file to load the web components.

Just like we specify javascript in application.js with `//= require "whatever`, I need an application.html with `<!-- require "whatever" -->. Then sprockets needs to create an html import for each file specified in the manifest.

Unfortunately, I really have no idea where to begin. I'll keep reading the sprockets source, but its way over my head. Thanks for your input, though.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/e07ab627-e019-42e0-ace7-3be159499960%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

No comments:

Post a Comment