Trying to route the register form from the login form (FIXED)


#1

I am trying to make the register button on the “Login form” route or link to the “Register form” but it is only able to click. However i can navigate to the register form from my address bar. Is there code that i’m missing or miss placing?


#2

Your question and preformatted code text is not displaying correctly so it’s hard to follow and understand.


#3

May I contact you through email?


#4

I think you should be able to edit your post so it displays clearly.


#5

I posted a picture of the code in a collage, hopefully it should be more clear.


#6

Looks like you might be mixing FlowRouter with React Router 4. You should only need to use one. The Meteor Chef pup boilerplate might help you get your login and register going. Here are a couple links:

https://github.com/cleverbeagle/pup/blob/master/imports/ui/layouts/App/App.js

https://themeteorchef.com/tutorials/getting-started-with-react-router-v4


#7

Awesome thanks a lot!