Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- My code as follows
- this is basic.js
- Router.map(function() {
- this.route('hi', {
- path: '/hi',"enter code here"
- template: 'hello'
- });
- });
- # this is basic.html
- <head>
- <title>Meteor Routing Test</title>
- </head>
- <body>
- {{> yield}}
- </body>
- <template name="hello">
- <h1>Hello World!</h1>
- </template>
- Can you please guide me if i am doing something wrong enter code here. I am opening this in http://locahost:3000 and http://locahost:3000/hi but not at all working
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement