Closed larryzhao closed 10 years ago
The javascript manifest does not seem wrong.
What is your prefix used on the configuration options of the gem?
I didn't use any, I get that i would figure that out from the instruction, so I didn't tried with that yesterday. I am gonna try it now.
It's working now after I set HandlebarsAssets::Config.path_prefix='reading/templates'
.
I have a javascript file structure like the following:
reading.js
groups everything inside, before I tryhandlebars_assets
in my project, I have//= require_tree ./reading
in it which works fine. Now I'd like to importhandlebars_assets
, I changed it to the following according to the instructions:It works fine, but the prefixes is still not correctly generated, I still go
contacts.hbs
compiled intoHandlebarsTemplates['reading/templates/contacts']
Is there anything wrong with my javascript manifest?
Thank you very much.