skip to Main Content

Currently, I have an html file which has a basic layout of a login page which has an option for new users to sign up if they’re not a member.

I have the following line inside of my html :

<a href="register.html">Join Us!</a>

What I want to have happen is load up a new HTML page which will be a modal (using twitter bootstrap) that will ask the user to input the correct data to create a login/pass combination.

But this isn’t working. It keeps doing the following (doesn’t do anything) :

http://localhost:3000/register.html

I’m a little confused whether my HTML is wrong or MeteorJS requires some sort of specific way to do something like this.

2

Answers


  1. You can use a relative url: Example: register.html only
    If your file is into the same project, you don’t need to put him an url absolute.

    Login or Signup to reply.
  2. Put your register.html file in your project’s /public directory and you will be able to access it via /register.html. However that page will run outside your Meteor app and won’t have any Meteor functionality per se.

    The /public folder maps to / and is normally used for images and other client-side assets. It’s common to map /public/images to /images for example.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search