-
Notifications
You must be signed in to change notification settings - Fork 14
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
pdb_ember: Ember hello world #12
Comments
I'm totally new to Ember.js but it appears to expect to control the complete page. I did a bit of Googling and it also appears you can set the root element. That said, I have a few questions to consider:
|
Setting the root element is as easy as this.
This will tell Ember to attach its application to a tag named |
What I'm trying to figure out is what we should render from Drupal and what should be added to the page by Ember. Most examples I find use I believe we could include a template file in the Ember example that would output the script tags, but this seems to Drupal specific. Now the Front end developer needs to use Twig. I'm trying to learn more about Ember and how it builds a page to determine what the best method would be. |
Acourding to the Ember docs on templating if you aren't using build tools it's cool to use script tags. This seems like it would be a problem though with Twig.
Handlebars uses |
Pushed my work in progress branch. |
Let's evaluate what it will take to get a basic hello world module / example component out there in Ember.
The text was updated successfully, but these errors were encountered: