Angular 2 router always starts URL with /undefined/...

98 views
Skip to first unread message

Ben Harrell

unread,
Sep 9, 2015, 9:16:11 AM9/9/15
to AngularJS
I thought this was a baseURL issue but my base tag seems to be ignored.  <base href="/"> as second element in head (after title).

my router.RouteConfig follows the path:...as:...component:.... syntax and works with no problems except for the /undefined/ at the beginning


any ideas?

Eric Martinez

unread,
Sep 9, 2015, 4:53:30 PM9/9/15
to AngularJS
Ben,

I saw your issue in the chatroom, it would be super really useful that you can share your set up and config, and if it is possible to reproduce it in a plnkr.

Ben Harrell

unread,
Sep 9, 2015, 6:03:34 PM9/9/15
to ang...@googlegroups.com
thx will do

On Sep 9, 2015, at 4:53 PM, Eric Martinez <eric.ma...@gmail.com> wrote:

Ben,

I saw your issue in the chatroom, it would be super really useful that you can share your set up and config, and if it is possible to reproduce it in a plnkr.

--
You received this message because you are subscribed to a topic in the Google Groups "AngularJS" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/angular/k0Hg5sQcjpo/unsubscribe.
To unsubscribe from this group and all its topics, send an email to angular+u...@googlegroups.com.
To post to this group, send email to ang...@googlegroups.com.
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Ben Harrell

unread,
Sep 11, 2015, 8:37:46 AM9/11/15
to AngularJS
working on it here but getting diff error now :)

Reply all
Reply to author
Forward
0 new messages