@@ -3,12 +3,12 @@
</head>
<body>
- <h1>Welcome to Meteor!</h1>
-
{{> hello}}
</body>
<template name="hello">
- <button>Click Me</button>
- <p>You've pressed the button {{counter}} times.</p>
+ <h1>Hello world!</h1>
+ {{ greeting }}
+ {{> loginButtons }}
+ <input type="button" value="click" />
</template>
@@ -3,8 +3,8 @@ if (Meteor.isClient) {
Session.setDefault('counter', 0);
Template.hello.helpers({
- counter: function () {
- return Session.get('counter');
+ greeting: () => {
+ return "Welcome to admin";
}
});