So I have a regular website that I built in Emberjs. Now I want to add an admin to the app. The problem I'm facing is that the header for the app is in application.hbs
but for the admin I want the header to be different. the header needs to stay in the application.hbs
because of the urls need to be /about
not user/about
or what ever arent route I could create. I tried making the header a component and add it to the route that worked but it loses the webapp feel since the header leaves from route to route. Is there a way for me not to extend the application template in admin?
mercredi 24 juin 2015
Emberjs templating and routing
Inscription à :
Publier les commentaires (Atom)
Aucun commentaire:
Enregistrer un commentaire