Quantcast
Channel: Ember.JS - Latest topics
Viewing all articles
Browse latest Browse all 4830

Why do I have to make controllers separately?

$
0
0

Hi,

In the ember-cli you do a ember generate route ‘blah’ to get a route, but nearly always you need a controller so you have to repeat yourself?

Why does ember-cli do this separately? Same thing for this Octane component where it only creates a HBS without the accompanying .js that you almost always need.

Deleting it in the 10% of cases when you don’t need it is a lot easier than having to repeatedly create stuff in the 90% cases where you do.

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 4830

Trending Articles