Skip to content

Redo components to match ember-cli#67

Merged
kimroen merged 1 commit intomasterfrom
component-changes
May 3, 2015
Merged

Redo components to match ember-cli#67
kimroen merged 1 commit intomasterfrom
component-changes

Conversation

@kimroen
Copy link
Owner

@kimroen kimroen commented Mar 10, 2015

Implementing the changes to components as implemented here and elsewhere: ember-cli/ember-cli#3356

This is a fairly straight-forward change which mirrors the ember-cli one in most ways.

  • For use in apps, nothing should change
  • For use in addons, the component and template is now rendered to the addon folder, and a javascript-file is generated in app. This is the recommended way forward.

To make this happen, I'm overriding and changing some strings in locals in the base blueprint, but the superclass takes care of the logic of picking which path to take. Because we want javascript in the app-folder, letting the built-in component-addon blueprint do its thing works out here.

@kimroen
Copy link
Owner Author

kimroen commented Mar 13, 2015

This seems to be a bit in flux in ember-cli, so I'll hold off on this change for now.

@kimroen
Copy link
Owner Author

kimroen commented May 2, 2015

The great @artsyca figured this one out in #75.

Everything should now be good to finish implementing this. Tomorrow!

@kimroen kimroen force-pushed the component-changes branch 2 times, most recently from 27e83a6 to 74d21f3 Compare May 3, 2015 10:04
@artsyca
Copy link

artsyca commented May 3, 2015

👍 Looking forward! Many thanks for your great work on this architecture!

@kimroen
Copy link
Owner Author

kimroen commented May 3, 2015

I ran in to an issue overriding some things, which I reported here: ember-cli/ember-cli#4001

@kimroen kimroen force-pushed the component-changes branch from 74d21f3 to ddd4da4 Compare May 3, 2015 15:39
@kimroen kimroen changed the title [WIP] Redo components to match ember-cli Redo components to match ember-cli May 3, 2015
kimroen added a commit that referenced this pull request May 3, 2015
Redo components to match ember-cli
@kimroen kimroen merged commit 5c371d4 into master May 3, 2015
@kimroen kimroen deleted the component-changes branch May 3, 2015 17:14
@kimroen
Copy link
Owner Author

kimroen commented May 3, 2015

@artsyca Released 0.11.0 with this and some other things.

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

Successfully merging this pull request may close these issues.

2 participants