Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Router#link may be returning undefined for root path #904

Open
msssk opened this issue May 20, 2021 · 0 comments
Open

Router#link may be returning undefined for root path #904

msssk opened this issue May 20, 2021 · 0 comments

Comments

@msssk
Copy link
Contributor

msssk commented May 20, 2021

Bug

Router#link may be returning undefined for /

Package Version: 8.0.0-beta.5

Code

Route:

	{
		id: 'home',
		path: '/',
		outlet: 'main',
		defaultRoute: true
	},

Link:

<Link to="home">Home</Link>

Expected behavior:

<a href="/">Home</a>

Actual behavior:

<a href>Home</a>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant