diff --git a/demo/vaadin-router-demo-shared-styles.html b/demo/vaadin-router-demo-shared-styles.html index 9d651c40..ece6b07f 100644 --- a/demo/vaadin-router-demo-shared-styles.html +++ b/demo/vaadin-router-demo-shared-styles.html @@ -37,3 +37,13 @@ + + + + diff --git a/demo/vaadin-router-getting-started-demos.html b/demo/vaadin-router-getting-started-demos.html index 3580fc44..b3cde549 100644 --- a/demo/vaadin-router-getting-started-demos.html +++ b/demo/vaadin-router-getting-started-demos.html @@ -247,14 +247,16 @@

Base URL

Excluded links

-

Vaadin Router can ignore a link if router-ignore - parameter is added to the a tag. +

When some <a> links are external for the app, Vaadin + Router can be configured to ignore them and let the browser handle these + links in the default way: +

<a href="/users" router-ignore>Users</a>

+ +

When an large set of URLs needs to be ignored (e.g. all URLs starting + with /external), it may be impractical to add the + router-ignore attribute to each link separately. + For such cases a more practical approach would be to add a special route + to the top of the router config: +

+ + +