I have created template and controller both called navbar. The code that i have in controller is simply
import Ember from 'ember';
export default Ember.Controller.extend({
isLogged: true,
});
and that in template is
Login
Join now
Dashboard
<button class="uk-button uk-button-large uk-button-primary uk-width-1-1" disabled=>Test button</button>
The same does not seem to be working. Am i going wrong somewhere ?
The template and controller were generated using ember generator itself and the code above is the only modifications that i made.
Aucun commentaire:
Enregistrer un commentaire