Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to name the partial file? #23

Closed
markson opened this issue Apr 24, 2013 · 3 comments
Closed

How to name the partial file? #23

markson opened this issue Apr 24, 2013 · 3 comments

Comments

@markson
Copy link

markson commented Apr 24, 2013

For partial like post/_edit

how should I name the hbs file?

@dgeb
Copy link
Owner

dgeb commented May 22, 2013

You should name the partial post/_edit.handlebars or post/_edit.hbs.

If you have your options set up properly in your Gruntfile.js, then this partial template should be registered as Ember.TEMPLATES["post/_edit"] = ... in your compiled template file.

@dgeb dgeb closed this as completed May 22, 2013
@kharmabum
Copy link

Would be great if this were mentioned in the README.

@dgeb
Copy link
Owner

dgeb commented Aug 13, 2013

@kharmabum good idea - just added this tip to the README.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants