Skip to content

Routing error #31

Closed
Closed
@sonicoder86

Description

@sonicoder86

Im getting the following error:
ORIGINAL STACK: Error: No base href set. Either provide a binding to "appBaseHrefToken" or add a base element.
I have the following RouteConfig

@RouteConfig([
  { path: '/',       as: 'home',   component: HomeComponent },
  { path: '/login',  as: 'login',  component: LoginComponent }
])

What am i doing wrong?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions