mercredi 7 juin 2017

Multiple layouts in Ember 2

I need implement next application structure with 3 routes:

localhost/users
localhost/posts
localhost/settings

'users' and 'posts' routes should have basic layout1 with main navbar. 'settings' route should have another layout2 with second navbar.

How can I implement multiple layouts approach with Ember > 2.12?

Can I set a layout name/path for each route or group of routes?




Aucun commentaire:

Enregistrer un commentaire