How can I serve pages at myapp.meteor.com/login

meteor

Solution

Use Backbone to do the URL routing on the client side.

http://docs.meteor.com/#backbone

http://documentcloud.github.com/backbone/#Router

Problem

If I places two files in ./client, for example, ./client/myapp.html & ./client/login.html, the page http://localhost:3000/login.html didn't work. if i place the login.html in ./client/login directory, the link http://localhost:3000/login didn't work too. So, how can I serve pages at http://myapp.meteor.com/login

Original source

Related problems